Creating OTD from a WSDL
Hi to all,
unfortunately I'm stuck in a problem. I have a wsdl and I want to call a external webservice out of a jcd.
Question: How can I build a OTD from a WSDL? The OTD Wizard only provides creating an OTD with the help of an existing XSD, but not a WSDL.
I imported the WSDL into the repository and it looks proper - the validation inside the WSDL-Editor was successful.
For some ideas I would be very grateful.
Kindly regards
Bodo Stockschlaeder
# 2
Hi,
external Web Services can be invoked inside of a JCD or from a Bussines Process.
In both cases you must import the WSDL to the project using the option Import -> Web Service Definition from the project.
* To invoke from a JCD you have to select Properties of the JCD and Add the WSDL to the JCD (it says Object Type Definition on the file dialog, but you can insert an existing WSDL of your project). Once you have the WSDL in the JCD, you have access to invoke the methods of the WS.
* To invoke from a BP just need to drag and drop the method from the WSDL showed in your project.
If you need to create OTDs for the WS call, you can create them clicking on the WSDL to open the editor, on the left of the window there is the Web Service Definition, select Types -> Schema and the object you want to create as an OTD. Select option Export XSD Node, and you will have it on your project as an OTD ready to use.
I hope it helps