Skip to Content
0
May 29, 2008 at 10:34 AM

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

57 Views

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

-->

- 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.