cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP UI usage as a receiver for testing purpose

Former Member
0 Kudos

Hi folks,

We are sending data to Webservice ( IDOC to WebService) through PI for which we are using SOAP as receiver adapter.

While we send the data from webservices to PI we can use SOAP UI and in the same way, can we use SOAP UI for receiver to validate the data.

It is very Urgent.. your quick response is appreciated..

Thanks..

Accepted Solutions (0)

Answers (2)

Answers (2)

Harish
Active Contributor
0 Kudos

Hi Ramesh,

you can use SOAP UI to receive the data as well but you need to mock the response, in other word you will get same response for all the request. craete a soap UI project with the WSDL. then create the mock response for the SOAP UI project. use the host (host or IP of the system where SOAP UI is present) and url to connect to SOAP UI.

The system should be accessible from PI (in same network of PI).

Regards,

Harish

Former Member
0 Kudos

Hi Harish,

Could you please tell me the steps to do this. I am new to this SOAP UI.

Thanks in advance..

former_member184720
Active Contributor
0 Kudos

Hi Ramesh - The blog should be helpfull. Monitoring the traffic using soap UI

http://www.soapui.org/SOAP-Recording/recording-soap-traffic.html

Harish
Active Contributor
0 Kudos

Hi Ramesh,

Please find the steps. Download the SOAP UI and create new SOAP UI project.

Step 1 - Upload the WSDL (receiver web service WSDL) to soap UI project. click on Create Mock service option.

Step 2 - Right click on the project and click Genrate Mock Service

step 3 - Click on the operation which is genrated and edit the response message (with the message you want in response).

Step 4 - start the mock service.

Then configure you SOAP receiver channel with the host and URL of SOAP UI.

Please let me know if you need screenshot to configure the SOAPUI.

Regards,

Harish

Former Member
0 Kudos

Hi Harish,

Can you please provide the screen shot. I need to perform the testing for similar scenario.

regards,

Vicky

gagandeep_batra
Active Contributor
0 Kudos

can we use SOAP UI for receiver to validate the data.

No

But for testing Web service you can send directly to webservice from SOAPUI

what you can do is change the receiver CC to file and check the output..

Regards

Gagan

former_member184720
Active Contributor
0 Kudos

You can even take the post mapping payload from rwb and validate it against the wsdl.