cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to RFC Scenario - Error at Sender Communication channel !!

Former Member
0 Kudos

Hi Experts ,

I am trying to execute a SOAP to RFC scenario . At SOAP sender channel level I am getting the error in RWB .

My findings :-

1. Error at RWB 9/24/09 4:24:10 PM error occured

9/24/09 4:24:06 PM request received

2. At SOAP UI client tool :

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>ADAPTER.JAVA_EXCEPTION</code>

<text>com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:UPDATE:HTTP status code401 Unauthorized

at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)

at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:917)

at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(AccessController.java:207)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

3. At SOAP UI level - "requires authentication with the realm 'XISOAPApps'"

- - - - - - - - - - - -- - - - - - - - - - - - - - - -- -

1. I don't see any issue in authorization as i am having SAP_ALL .

2. URL string seems to be O.K :

http://ABC:50000//XISOAPAdapter/MessageServlet?channel=:BSer_SOAP:CC_SOAP_Sender&version=3.0&Sender....

Kindly advice !!!

Regards ,

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Santosh,

Check these notes:

Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter

I get an authorization error "401 Unauthorized" from the adapter's servlet. What went wrong?

Note 816022 - FAQ: XI/PI 3.0/7.0/7.1 J2EE Adapter Engine/Messaging System

Question 9: Under very high load the AE messaging URL sporadically returns HTTP 401 response codes. What can I do about that?

Note 810236 - XI 3.0 SOAP Adapter authentication problem for some password

This is for 3.0

Regards

Suraj

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

How are you making the SOAP call?

What client application are you using?

Regards,

Vikas

Former Member
0 Kudos

Mentioned above : SOAP UI Client tool !!!

Regards,

Former Member
0 Kudos

Hi,

There are many SOAP clients available.

Can you please tell which one.

Have you selected basic authentication?

You might want to try this tool: http://crosschecknet.com/download/p_cust_info_try_p.php

Regards,

Vikas

former_member187339
Active Contributor
0 Kudos

Hi Santosh,

In wsdl change the URL to

http://ABC:50000//XISOAPAdapter/MessageServlet?channel=:BSer_SOAP:CC_SOAP_Sender

Also send your message to the above url

Regards

Suraj

Former Member
0 Kudos

Hi ,

I don't see any issue in URL ..though tried with the proposed URLs but no gain !!!

Regards,

former_member183906
Active Contributor
0 Kudos

1. Check PI id and password is working fine.

Check if the user you are using has SAP_XI_APPL_SERV_USER role.

Another way is to pass id and pwd in URL

Try to pass the User ID and Password in the URL( the URL which is given to the webservice).

Example: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel &sap-user=xxxx&sap-password=xxxx

2.Provide SOAP URL like -

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