cancel
Showing results for 
Search instead for 
Did you mean: 

webservice call without a wsdl

Former Member
0 Kudos

HI,

I need to contact with the SAP XI web service. I only know what to send as soap body as string but I do not have any wsdl definition. How could I call this sap xi web sevice without a wsdl? Is it mandatory to have the wsdl for sap xi web service invokation ?

Similarly, from SAP XI, i need to call a web service hosted on the target system, without having a wsdl suppied by the target system. In that case, what is the minimum information i need from the target system to invoke a web service ?

Also, is the solution which you peope give me warrants specific PI version (PI 7.0 or PI 7.1 etc.,) and service pack ?

I appreciate your reply.

Regards

Nagaraj

Accepted Solutions (0)

Answers (2)

Answers (2)

JoelTrinidade
Active Contributor
0 Kudos

Dear Nagaraj,

Please refer /people/dmitry.govberg/blog/2007/04/03/invoking-a-webservice-without-external-definitions

Regards

joel

Former Member
0 Kudos

Hi,

Is it mandatory to have the wsdl for sap xi web service invokation ?

WSDL is not mandatory to have web service call. The advantage of having WSDL is that it has XSD which can help you to create your message and also information about the end point, which can tell you which HTTP address to call and send the message to.

How could I call this sap xi web sevice without a wsdl? 

For the web service in XI, you should be able to create WSDL from your sender agreement for PI 7.1 (for proxy, HTTP, SOAP, and WS) or from SOAP adapter if you are using PI 7.0 and below.

what is the minimum information to invoke a web service ?

And then for the target system WSDL, if you can not get it, then I would advise you to get at least DTD or XSD, which shows you all the mandatory and optional element with their cardinality. And then ask them for the HTTP address to call.

Unfortunately if you still can not get, then you can try to get at least sample message and then by using XML editor, you can create back the XSD. However, you may have to add all the optional elements and their cardinality in the new generated XSD.

Regards,

Lim...

Edited by: Ruslim Chang on Mar 6, 2009 6:59 AM