cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT

Former Member
0 Kudos

Hi Experts

today morning in b/w 8:30 to 8:40 three files are processed throught our PI. our scenario is File to SOAP(asyn).

for these messages the status inSXMB_ MONI Showing black flag with out any issue status.

while checking in message monitoring one of these message status is as system error.

the audit log for this messge is

Time Stamp Status Description

2010-05-28 08:40:22 Success Message successfully received by messaging system. Profile: XI URL: http://ntwprdapp:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

2010-05-28 08:40:22 Success Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

2010-05-28 08:40:22 Success Message successfully put into the queue.

2010-05-28 08:40:22 Success The message was successfully retrieved from the receive queue.

2010-05-28 08:40:22 Success The message status set to DLNG.

2010-05-28 08:40:22 Success Delivering to channel: CC_AsianPaints_SOAP_Recv_EPaymentReverseFile

2010-05-28 08:40:22 Success MP: Entering module processor

2010-05-28 08:40:22 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

2010-05-28 08:40:22 Success SOAP: request message entering the adapter with user J2EE_GUEST

2010-05-28 08:40:22 Success SOAP: Web Services Security processing...

2010-05-28 08:40:22 Success SOAP: apply Web Services Security...

2010-05-28 08:40:22 Success SOAP: Web Services Security applied.

2010-05-28 08:40:33 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:40:33 Success SOAP: sending a delivery error ack ...

2010-05-28 08:40:33 Success SOAP: sent a delivery error ack

2010-05-28 08:40:33 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:40:33 Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:40:33 Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:40:33 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: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized.

2010-05-28 08:40:33 Success The message status set to WAIT.

2010-05-28 08:40:33 Success The asynchronous message was successfully scheduled to be delivered at Fri May 28 08:45:33 IST 2010.

2010-05-28 08:45:33 Success The message status set to TBDL.

2010-05-28 08:45:33 Success Retrying to deliver message to the application. Retry: 1

2010-05-28 08:45:33 Success The message was successfully retrieved from the receive queue.

2010-05-28 08:45:33 Success The message status set to DLNG.

2010-05-28 08:45:33 Success Delivering to channel: CC_AsianPaints_SOAP_Recv_EPaymentReverseFile

2010-05-28 08:45:33 Success MP: Entering module processor

2010-05-28 08:45:33 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

2010-05-28 08:45:33 Success SOAP: request message entering the adapter with user J2EE_GUEST

2010-05-28 08:45:33 Success SOAP: Web Services Security processing...

2010-05-28 08:45:33 Success SOAP: apply Web Services Security...

2010-05-28 08:45:33 Success SOAP: Web Services Security applied.

2010-05-28 08:45:53 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:45:53 Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:45:53 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: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized.

2010-05-28 08:45:53 Success The message status set to WAIT.

2010-05-28 08:45:53 Success The asynchronous message was successfully scheduled to be delivered at Fri May 28 08:50:53 IST 2010.

2010-05-28 08:45:53 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:45:53 Success SOAP: sending a delivery error ack ...

2010-05-28 08:45:53 Success SOAP: sent a delivery error ack

2010-05-28 08:45:53 Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:50:53 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

2010-05-28 08:50:53 Success The message status set to TBDL.

2010-05-28 08:50:53 Success Retrying to deliver message to the application. Retry: 2

2010-05-28 08:50:53 Success The message was successfully retrieved from the receive queue.

2010-05-28 08:50:53 Success The message status set to DLNG.

2010-05-28 08:50:53 Success Delivering to channel: CC_AsianPaints_SOAP_Recv_EPaymentReverseFile

2010-05-28 08:50:53 Success MP: Entering module processor

2010-05-28 08:50:53 Success SOAP: request message entering the adapter with user J2EE_GUEST

2010-05-28 08:50:53 Success SOAP: Web Services Security processing...

2010-05-28 08:50:53 Success SOAP: apply Web Services Security...

2010-05-28 08:50:53 Success SOAP: Web Services Security applied.

2010-05-28 08:51:17 Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:51:17 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: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized.

2010-05-28 08:51:17 Success The message status set to WAIT.

2010-05-28 08:51:17 Success The asynchronous message was successfully scheduled to be delivered at Fri May 28 08:56:17 IST 2010.

2010-05-28 08:51:17 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:51:17 Success SOAP: sending a delivery error ack ...

2010-05-28 08:51:17 Success SOAP: sent a delivery error ack

2010-05-28 08:51:17 Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:51:17 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:56:17 Success The message status set to TBDL.

2010-05-28 08:56:17 Success Retrying to deliver message to the application. Retry: 3

2010-05-28 08:56:17 Success The message was successfully retrieved from the receive queue.

2010-05-28 08:56:17 Success The message status set to DLNG.

2010-05-28 08:56:17 Success Delivering to channel: CC_AsianPaints_SOAP_Recv_EPaymentReverseFile

2010-05-28 08:56:17 Success MP: Entering module processor

2010-05-28 08:56:17 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

2010-05-28 08:56:17 Success SOAP: request message entering the adapter with user J2EE_GUEST

2010-05-28 08:56:17 Success SOAP: Web Services Security processing...

2010-05-28 08:56:17 Success SOAP: apply Web Services Security...

2010-05-28 08:56:17 Success SOAP: Web Services Security applied.

2010-05-28 08:56:36 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:56:36 Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:56:36 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:56:36 Success SOAP: sending a delivery error ack ...

2010-05-28 08:56:36 Success SOAP: sent a delivery error ack

2010-05-28 08:56:36 Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

2010-05-28 08:56:36 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: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized.

2010-05-28 08:56:36 Error The message status set to NDLV.

Please help me regarding this.

Regards

robin

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member223322
Active Participant
0 Kudos

Hi,

You may need to use the message transform bean to fix your issue. Refer the below link.

https://wiki.sdn.sap.com/wiki/display/XI/SOAPMessagesin+XI

~Vaas

Former Member
0 Kudos

Thanks for the replies

after this messages all the messages are processed successfully. so it seems that no url and authentication problem for this.

pls guide me how to resolve this issue.

Robin

stefan_grube
Active Contributor
0 Kudos

So when you resend the message, is it OK then, or same error?

Former Member
0 Kudos

Hi,

Please check the content type for SOAP. It should be TEXT/XML and you can set the same to content type.

Thanks

Uaruna

Former Member
0 Kudos

Hi Uaruna

how to check the content type for SAOP and how to set the content type.I am not aware of this earlier. let me know pls.

Robin.

Former Member
0 Kudos

Hi Robin,

You can check the content type in the payload from SXMB_MONI.

Also you can set the content type using Messagetransformbean in your SOAP adapter module.It is available in SDN, Please search and try changing your content type.

Thanks

Uaruna

stefan_grube
Active Contributor
0 Kudos

"HTTP 401 Unauthorized "

User expired or locked?