cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with configuring and designing SOAP communication

Former Member
0 Kudos

Hi,

I am beginner at PI. I have problem mainly with configuring SOAP adapter for communicating with third party web-service.

I have web-service which needs user authorization and from this web-service I need to get every day data about stock size for every single article.

I got this far: operation mapping, message mapping is somehow done, I have problem with service interface - is it synchronous or asynchronous mode?

What I am really lost is configuration: i am receiving xml message from webservice - should it be sender but on the other hand i am sending authorization  - is it receiver?

Which of the many manuals would you suggest and what tips?

Thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184789
Active Contributor
0 Kudos

Hi,

Since you are getting some response from the webservice, you should make it a synchronous communication. You can get plenty of material on internet as to how to configure a synchronous communication with a webservice. Please make sure that you have the WSDL of the webservice with you because the webservice will accept the request only as per its WSDL. This WSDL of the webservice will be used to create the External definition which will serve as the message type for the webservice. Look how the request & response mappings have been added in the below examples:

http://saptechnical.com/Tutorials/XI/RFC2WebService/Page2.htm

http://saptechnical.com/Tutorials/XI/Proxy/SS.htm

Former Member
0 Kudos

Hi,

I used manual RFC2Webservice - it is not still working but it is on good way - it seems i have some problems with wsdl they sent me from 3rd party.

Thanks for your help.

Answers (2)

Answers (2)

rajasekhar_reddy14
Active Contributor
0 Kudos

If sender system expecting response from Traget system then you need to build your interface as a Synchrounous.

There are many articles available in SCN.Search.

Former Member
0 Kudos

Hi,

You are receiving the XML that means the Web Service is Sender. Also the Web Service wats authorization so that it can post the data to PI server.

In order to generate the WSDL you need to do the following - Go to Integration directory -> Go to tools -> Define Webservice -> You need to enter the follwoing -

http://host:J2EE port/XISOAPAdapter/MessageServlet?channel=<party>:<service name>:<communication channel>

Give this wsdl to ur web service team along with user name /password

Regards,

Ashish