Blog Archive

Wednesday, January 2, 2013

Working with SOAP UI for testing sender soap scenarios in client network

Basic knowledge on soap ui usage in SAP PI enviroment:

SOAP UI web client usage in SAP PI environment for testing sending soap request to SAP PI.

 If you are using soap client, it is difficult to send send soap request to sap pi system. in that cases,

1. first install the soap ui software in your system.(With out putting client network).
2. Enable client network.
3. Open soap ui tool as follows

this option will be found once you are using client network.

4. Check if any proxy details are mentioned(By default,it details from your browser). remove those

5. Mention required user name and pwd(to login sap pi) refer first link.

By PDP ;-)

Ways to generate wsdl file from configured sender soap communication channel in PI

we have two approaches to generate WSDl file from sender side

1. in Sender Agreement ->  Click on Sender Agreement  -> display wsdl
2.from menu bar "tools" ->  Display WSDl -> have to provide parameters

sap comment on those:
You have configured the sender SOAP adapter. You can trigger a call to the sender SOAP adapter using either of the following URLs. However, SAP recommends you to use the second option.
      http://:/XISOAPAdapter/MessageServlet?channel=::. If you have not created a party, enter channel=::

host and port are the values, we can see those, from opening integration builder
http://host:port//dir/start/index.jsp  ( in most of the cases values >= 50000)

Else 2nd case, we can directly generate from sender aggrement. no need to provide any thing manually, morover, we can get the wsdl url from wizard text box, else get it from wsdl content, which has two address locations , one is http and https  


403 Forbidden - You are not authorized to view the requested resource

some times, when you use wsdl in soap ui, you may get the above error,

The reason is , you do not have required authorization to access the service.

How to check, if my user has required authorization or not,
simple, by opening integration builder , you can identify the PI system host and port name

After configuring the sender aggrement (also sender cc ), you are able to generate WSDL,

your wsdl target url: you can find it the wsdl file,(search for location).


just copy this path in your client browser, if you are able to see the pop up to enter the user name and pwd.
that's fine.
This seems, you are not having required authorization to test this service.