Skip to Content
author's profile photo Former Member
Former Member

SAP >> Pi >>Web service scenario.

Dear All.

We have a scenario where SAP (ECC) will generate a IDOC which has to be converted to XML and then send that XML to third party through WEB SERVICE.According to my findings I would need WSDL file and link from third party.

Can you please guide me to develop this interface in SAP PI.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 29, 2013 at 05:01 PM

    Hi Aarush,

    Third party will provide you the WSDL you can import wsdl and use it .


    Add a comment
    10|10000 characters needed characters exceeded

    • Very simple. Third party will provide WSDL because they are hosting the web service.

      You need to following in design and configuration

      a) import WSDL as external definition in ESR. You will use the messages as external type in the inbound interface (receiver side).

      b) you are going to use soap adapter to consume the web service. If the third party requires authentication then you might have to use accordingly otherwise just http. This is in the IR .

      Extract the URL from the WSDL from the location tag and use it in the target field of the soap receiver channel.

      If you need more help, you can refer scn for soap receiver scenario. Also you can refer this link for conifguration in soap receiver

      XI/PI: A Guide to Using SAP XI SOAP Adapter

  • author's profile photo Former Member
    Former Member
    Posted on Dec 30, 2013 at 04:24 AM

    Thanks baskar for the reply.

    The problem that I m facing here is third party has just provided me XML schema and the link with usrename and password, asking me to generate wsdl file from that.Do we need location tag in wsdl file or how can i generate wsdl from XML schema?

    Also do I need to get any IP or port opened?



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.