cancel
Showing results for 
Search instead for 
Did you mean: 

Testing XI SOAP scenario using SAP SOAP client

Former Member
0 Kudos

I downloaded SAP SOAP client from the following website and I have few questions regarding the input fields.

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

Under target url, I have

http://xi0.gyc.com:8070/XISOAPAdapter/MessageServlet?channel=:HTTP_LINK:testSoap

This is where I'm getting all confused.

Under Load request from, I can only input xml data. What needs to go here. Is it xml with SOAP envelope. I don't know how wsdl file fits here. The one I created in Config via define Web Service.

Under settings, I cleared HTTP and HTTPS proxy field as explained in one of the Weblogs.

Under HTTP header, I've checked 'use HTTP basic auth' and I've entered xiappluser and password.

SoapActionHeader has "" (default) not sure what this means.

The rest has default values.

Accepted Solutions (0)

Answers (4)

Answers (4)

andreas_stolz
Active Participant
0 Kudos

Hello Parimala,

please try the following document as a template for the xml input. Replace [message / data type] by your values.

Rgds.,

Andreas

<?xml version="1.0" encoding="utf-8"?>

<SOAP:Envelope

xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'

xmlns:xsd='http://www.w3.org/2001/XMLSchema'

xmlns:xsl='http://www.w3.org/2001/XMLSchema-Instance'>

<SOAP:Body>

<nr1:[your message type]

xmlns:nr1="[your namespace]">

[your datatype] xmlns="">

<[field]>value</[field]>

</[your data type]>

</nr1:[your message type]>

</SOAP:Body>

</SOAP:Envelope>

former_member187339
Active Contributor
0 Kudos

Hi Parimala,

>>Under Load request from, I can only input xml data. What needs to go here. Is it xml with SOAP envelope.

Yes it is with SOAP envelope.

If you want to generate the request from WSDL the use XMLSPY. In that you can load the WSDL (created from XI). It will automatically picks the format of the message request which is to be send.

Regards

Suraj

moorthy
Active Contributor
0 Kudos

Hi Parimala,

I think, it is xml data only. Pls let me know abou this.

Are you getting any error.?

Just related links-

/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client

/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap

Regards,

Moorthy

Former Member
0 Kudos

Hi Parimala,

Were you able to test ur scenario using SOAP client and the WSDL generated fronm Integration Directory? Please let me know how to do it, I'm trying to do the same scenario.

Thanks in advance

praveen