cancel
Showing results for 
Search instead for 
Did you mean: 

wsdl dtd and xml

Former Member
0 Kudos

Hi,

I've a xml file with our dtd files. Can with this create a wsdl ??? or create a web services on sap developer studio?

thanks in advance,

david

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184385
Active Participant
0 Kudos

Hi David,

first of all, you need a WSDL, as a logical description of the WS you would like to implement a SOAP WS.

The simplest WS of some use would consists of one method (the method) with one parameter (the request) and a result value (the result).

What you have at the moment is: the xml of the request and the response, I hope.

So, how do you get from your request/response XMLs to a WSDL?:

1. Convert your request/response XMLs to a describing DTD/XML Schema. There are tools on the internet, which can do that.

2. Familiarize yourself with the WS echo example from the Axis distribution: Look at the WSDL and try to augment the echo method with your request/response schema types from step 1

This, somehow lengthy procedure should teach you a lot about SOAP Web Services.

N.B. A short cut would be to model your Web Service after the primordial echo WS method, accepting and producing just strings with your XML request/response documents as payload and delegate the XML to java deserialization of the request/response to the WS implementation rasp. the WS client.

Regards

Gregor