cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP > XI > SOAP Scenario problem

Former Member
0 Kudos

Hello,

Via an HTTP client (wfetch) I am trying to send a payload to a WebService I generated from the XI system(using the wizard).

The log from the http client is as follows:

<u><u>started....

WWWConnect::Close("16.16.158.134","8000")\n

closed source port: 1490\r\n

WWWConnect::Connect("16.16.158.134","8000")\n

source port: 1695\r\n

REQUEST: **************\n

POST /sap/xi/adapter_plain?namespace=http:\lab.hp.com&interface=LookForNewOrders&service=HTML_SERVICE&party=&agency=&scheme=&QOS=&sap-user&sap-password=

&sap-client=700&sap-language=E HTTP/1.0\r\n

Host: hp547-4.gre.hp.com\r\n

Accept: */*\r\n

Content-Length:174\r\n

Authorization: Basic eGlzdXBlcjoxMjM0NTY=\r\n

\r\n

<LookForNewOrders>\r\n

<Refnumber>4</Refnumber>\r\n

<CustomerID>444</CustomerID>\r\n

<Material>dd</Material>\r\n

<Quantity>1</Quantity>\r\n

<Status>N</Status>\r\n

</LookForNewOrders>

RESPONSE: **************\n

HTTP/1.0 500 Internal Server Error\r\n

set-cookie: sap-usercontext=sap-language=E&sap-client=700; path=/\r\n

content-type: text/html\r\n

content-length: 0\r\n

server: SAP Web Application Server (1.0;640)\r\n

\r\n

finished.</u></u>

For the soap receiver adapter I put the follwoing URL, which I took out of the WSDL of the webservice:

http://hp5474.gre.hp.com:8000/sap/bc/srt/rfc/sap/IF_Orders_Insert?sap-client=700

In SXMB_MONI I receive the following error:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>soap fault: SOAP processing failure, error id = 1001</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Please advise,

Thanks

Boaz

Accepted Solutions (0)

Answers (1)

Answers (1)

manish_bhalla2
Contributor
0 Kudos

Hi,

You should check that the user XIAFUSER exists on the application system and has the relevant authority to execute the webservice.

Cheers

Manish

Former Member
0 Kudos

Hello Manish,

I gave XIAFUSER all required authorizations but I am still receiving the same error.

Thanks

Boaz

manish_bhalla2
Contributor
0 Kudos

Hi Boaz,

It could be that there is nothing wrong with your XI config. The 1001 errorocde suggests that there may be an application processing error. Can yuou test the webservice directly with the data you are providing (to check that it is not causing the errors)?

Cheers

Manish