on 01-25-2006 7:14 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.