cancel
Showing results for 
Search instead for 
Did you mean: 

RFC TO SOAP Error SOAP: error occured: com.sap.aii.messaging.srt.BubbleExce

prasad_konda
Explorer
0 Kudos

Hi

I am trying to do RFC to Soap.

we are using standard Bapi.

The soap webserver / service is located in the same LAN and no proxies exists.

I am sending the data from IS test tab and it is giving me error.

when I checked in the message monitor

on integration server

the message status is showing the status as system error,

and on the adapter it is giving the status as completed but in the log I have found as the following

2008-10-13 15:13:01 Success The message was successfully received by the messaging system. Profile: XI URL: http://starxi:50000/MessagingSystem/receive/AFW/XI

2008-10-13 15:13:01 Success Using connection AFW. Trying to put the message into the request queue.

2008-10-13 15:13:01 Success Message successfully put into the queue.

2008-10-13 15:13:01 Success The message was successfully retrieved from the request queue.

2008-10-13 15:13:01 Success The message status set to DLNG.

2008-10-13 15:13:01 Success Delivering to channel: soap_cc

2008-10-13 15:13:01 Success SOAP: request message entering the adapter

2008-10-13 15:13:01 Error SOAP: error occured: com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint: HTTP 401 Unauthorized [null "null"]; nested exception caused by: java.io.IOException: invalid content type: text/html

2008-10-13 15:13:01 Error Exception caught by adapter framework: Failed to call the endpoint: HTTP 401 Unauthorized

2008-10-13 15:13:01 Error Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint: HTTP 401 Unauthorized. Setting message to status failed.

2008-10-13 15:13:01 Error The message status set to FAIL.

2008-10-13 15:13:01 Error Returning synchronous error message to calling application: Failed to call the endpoint: HTTP 401 Unauthorized.

In *SXMB_MONI* it is giving as

<?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>XIAdapterFramework</SAP:Category>

<SAP:Code area="PARSING">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Failed to call the endpoint: HTTP 401 Unauthorized</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

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

</SAP:Error>

Could any one please tell me what is the problem is?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Go through these links

and one more thing APPLY LATEST PATCHES

I think namespace in the URL is conflicting somewhere.

Just check with this blog-

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

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

Please Reward points if it helps

Thanks

Vikranth

Edited by: Khimavath Vikranth on May 29, 2008 12:41 PM

Former Member
0 Kudos

Hey,

1) check the RWB, component monitoring, your soap sender adapter.

2)The Integration Server SOAP inbound channel url has to be

http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<ServiceName>:<Channel Name>,

where ServiceName is the sender Service name, and Channel Name is the SOAP Sender communication channel Name.

Check this weblog

/people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component

3) Try to avoid this one http://was:5<sysnr>00/XISOAPAdapter/MessageServlet

For this you can refer this -

http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

Also this blog may help you-/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step

Thanks,

Vijaya.