cancel
Showing results for 
Search instead for 
Did you mean: 

Testing SOAP interfaces

Former Member
0 Kudos

Hi ALL

I am planning to use SOAP UI to test interfaces which use SOAP messages.

However, I need help with the following questions:

1. The SOAP URL : where/how can i generate a SOAP URL which is specific to my interface; is there any place i can generate this link from anywhere or just you the following format and enter the values manually(following format below)

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

2.How do i enclose my XML in the SOAP body, can I use any tool, or do i have to do that manually.

Your help is greatly appreciated.

Thank you ALL,

Ritu

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

1. This can be done in Integration Directory -> Tools Menu -> Define Web Service. In the wizard, you need to provide the mentioned link.

2. Altova is free for month. Or you may use soap client provided by SAP

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9b16d790-0201-0010-4e9b-baa5f428...

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ritu,

> 1. The SOAP URL : where/how can i generate a SOAP URL which is specific to my interface; is there any place i can generate this link from anywhere or just you the following format and enter the values manually(following format below)

> http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

Logon to ID> Tools>define Web servicess....

If the server is PI 7.1 then logon to ID> Tools> Display WSDL then you will get the pop up click on continue it asks the URL then you can click on Propose URL button otherwise give the URL pattern like below

http://<PIhost>:<port>/XISOAPAdapter/MessageServlet?channel=:<party>:<service>:<channel>

> 2.How do i enclose my XML in the SOAP body, can I use any tool, or do i have to do that manually.

SOAP UI tool is freeware from SAP.

For downloading SOAP UI tool

http://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/2fad3a59-0501-0010-7a92-dc43cd1cdf1... [original link is broken]

Altova XML spy not freeware but trail version is available for one month.

Regards

Ramesh

Former Member
0 Kudos

Thank you ALL!!

@ Ramesh

I have followed the steps however my SOAP UI gives the following response:

Please, let me know if you have come across this error and what the solution could be.

Thanks much,

Ritu

************************************************************************************************************************

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title>Error Report</title>

<style>

td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}

A:link

A:visited

A:active

</style>

</head>

<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">

<tr bgcolor="#FFFFFF">

<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>&nbsp;&nbsp;401 &nbsp Unauthorized</b></font></td>

</tr>

<tr bgcolor="#3F73A3">

<td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>

<td height="23"><img width=1 height=1 border=0 alt=""></td>

<td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP NetWeaver Application Server 7.10 / AS Java 7.10&nbsp;</b></font></td>

</tr>

<tr bgcolor="#9DCDFD">

<td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>

</tr>

</table>

<br><br><br><br><br><br>

<p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>&nbsp;&nbsp;Unauthorized</b></font></p>

<p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b>&nbsp;Details:</b></td><td valign="top"><PRE>No details available</PRE></font></td></tr></table></font></p>

</body>

</html>

Former Member
0 Kudos

Hi Tiwari,

The error you are having is 401 unauthorized. Did you give username and pwd? If you give then your user name and password are wrong. So please check that. Give the id and pwd through which you enter xi.

In the left side of soap ui there is user id and pwd columns give there and then once again test.

Regards,

---Satish

Former Member
0 Kudos

Once your interface is already i.e both IR and ID objects are created then in ID go to

Menu -Tools ->Define WebService through which you can define the WSDL for your scenario

and save the data generated in file and use SOAP UI test tool and import the WSDL generated and using that tool you can make a call to your scenario by providing the input values

There are lot of Tools using which you can test the same

one of that is XML SPY..

if not clear search SDN there is a step by step document is available for the same

HTH

Rajesh