cancel
Showing results for 
Search instead for 
Did you mean: 

How to Consume web service generated in PI server

former_member6134
Participant
0 Kudos

 

Hi Experts,

I would like to know the following things in the SOAP Sender scenario.

1) Our scenario is SOAP-PI- Server proxy. To send data to PI server from the external web server , the external web server will use the wsdl file and the URL generated in the PI server ie in the Sender Agreement. Can we share the same URL which is shown when we right click the Sender Agreement-> Display WSDL-> WSDL URL and at the botton the wsdl is shown , to the web server programmer to consume the web service?

2) Also I have come across about publishing the web service in Service registry. Is it mandatory to publish the web service in the Service registry before publishing it for consumption to the external web server?

3) Also would like to know how to fire the SOAP query from SOAP UI test software to SAP PI SOAP Sender Interface for testing purpose. Can somebody share the step by step approach for this?

Thanking You

With Best Regards

Suhas

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190624
Active Contributor
0 Kudos

1) Our scenario is SOAP-PI- Server proxy. To send data to PI server from the external web server , the external web server will use the wsdl file and the URL generated in the PI server ie in the Sender Agreement. Can we share the same URL which is shown when we right click the Sender Agreement-> Display WSDL-> WSDL URL and at the botton the wsdl is shown , to the web server programmer to consume the web service?

You provide same WSDL URL to 3rd party (it will be good , if you provide physical WSDL)

2) Also I have come across about publishing the web service in Service registry. Is it mandatory to publish the web service in the Service registry before publishing it for consumption to the external web server?

No it's not mandatory to publish the web service in service registry . If you published web service , you can test it from wsnavigator.

3) Also would like to know how to fire the SOAP query from SOAP UI test software to SAP PI SOAP Sender Interface for testing purpose. Can somebody share the step by step approach for this?

Very simple,

1. create a soapui project and add WSDL(url (if you provide url you need enter your PI system username and password)/ physical) to project.

2. Request will be created , double click on it .

3. provide input details along with authorization(under auth tab provide username and password and authorization type is premitive ) and run .

Former Member
0 Kudos

Hello,

1) Yes, u can..

2) No, it's not mandatory u can follow ur conventional way of generating WSDL and then sharing the same along with URL, but certainly there are some benefits if u publish ur SI in SR. There is a bog published by Raja u can check the same.

3) Check the SOAP UI documentation, it's a very simple process-> create a project in SOAP UI -> import WSDL -> provide input values + user name and password under authentication tab and u r done

Thanks

Amit Srivastava

iaki_vila
Active Contributor
0 Kudos

Hi,

1) Our scenario is SOAP-PI- Server proxy. To send data to PI server from the external web server , the external web server will use the wsdl file and the URL generated in the PI server ie in the Sender Agreement. Can we share the same URL which is shown when we right click the Sender Agreement-> Display WSDL-> WSDL URL and at the botton the wsdl is shown , to the web server programmer to consume the web service?

You can share that URL if that URL is accesible for external partners.

2) Also I have come across about publishing the web service in Service registry. Is it mandatory to publish the web service in the Service registry before publishing it for consumption to the external web server?

It is not neccesary to publish anything to the Service Registry in order to consume a SOAP service.

3) Also would like to know how to fire the SOAP query from SOAP UI test software to SAP PI SOAP Sender Interface for testing purpose. Can somebody share the step by step approach for this?

Hope this helps http://www.soapui.org/Getting-Started/your-first-soapui-project.html

You only need the wsdl from PI.

Regards.