Skip to Content
0
Former Member
Oct 27, 2009 at 10:36 PM

SOAP Asynch Message Giving HTTP 401 Unauthorized error

819 Views

Hi experts,

<Br>

We are sending ORDERS IDOC Asynchronously from ECC To XI and XI is sending it to Vendor using SOAP.

This interface was working OK and now we had HTTP 401 error. Checked URL,Username and password to the Vendor. It looks OK. It is working OK if I try it in browser.

</br>

<Br>

I tried to refresh the object by changing values and reactivating,did cache refresh..Still didn't work.When I try to check for the problem found J2EE_GUEST user was locked.Same was unlocked and tried again.

</BR>

<BR>

This IDOC is requesting for acknowledgement( trying to suppress ack by running IDX_NOALE).

But now I need to reprocess these failed messages.I was trying in different ways and it is not going thru.

Any pointers are really appreciated.

</BR>

Adapter Engine Log is as follows:

<BR>

2009-10-27 16:37:30 Success The message was successfully retrieved from the receive queue.

<BR>

2009-10-27 16:37:30 Success The message status set to DLNG.

<BR>

2009-10-27 16:37:30 Success Delivering to channel: CC_ORDERS05_TO_XYZ_SOAP

<BR>

2009-10-27 16:37:30 Success MP: Entering module processor

<BR>

2009-10-27 16:37:30 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

<BR>2009-10-27 16:37:30 Success SOAP: request message entering the adapter with user J2EE_GUEST

<BR>2009-10-27 16:37:30 Error Exception caught by adapter framework: SOAP: response message contains an error <BR>XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized

<BR>2009-10-27 16:37:30 Success SOAP: completed the processing

<BR>2009-10-27 16:37:30 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - <BR>HTTP 401 Unauthorized

<BR>2009-10-27 16:37:30 Success SOAP: sending a delivery error ack ...

<BR>2009-10-27 16:37:30 Success SOAP: sent a delivery error ack

<BR>2009-10-27 16:37:30 Success Acknowledgement creation triggered for type: SystemErrorAck

<BR>2009-10-27 16:37:30 Success Acknowledgement creation triggered for type: AckNotSupported

<BR>2009-10-27 16:37:30 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: <BR>response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized

<BR>2009-10-27 16:37:30 Success Acknowledgement sent successfully for type: SystemErrorAck

<BR>2009-10-27 16:37:30 Success Acknowledgement sent successfully for type: AckNotSupported


2009-10-27 16:37:30 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System
failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error
XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized.

<BR>2009-10-27 16:37:30 Error The message status set to NDLV.

<BR>

<BR>Regards,

<BR>Ramesh

Edited by: RameshK99 on Oct 28, 2009 1:57 AM