Skip to Content
avatar image
Former Member

webservice call without a wsdl

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 06, 2009 at 05:59 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 06, 2009 at 06:46 AM

    Dear Nagaraj,

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

    Regards

    joel

    Add comment
    10|10000 characters needed characters exceeded