Skip to Content
0
Former Member
Feb 06, 2012 at 10:13 PM

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

436 Views

Hi,

We have a scenario flat file to web service, it working fine with less number of record per message but when we the number of record increased it is throwing error:SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request in the SOAP receiver channel.

To make sure the payload is correct, I have test this payload with SOAP UI and its working fine.so no error with respect to message.

In the SOAP receiver channel we have used MTB with text/xml;charset=utf-8 as parameter Name -Transform.ContentType

As per thread http://forums.sdn.sap.com/thread.jspa?messageID=8296218#8296218 , I have changed the Tuning parameter in sxmb_adm with EO_MSG_SIZE_LIMIT 102400 and current ICM value for icm/HTTP/max_request_size_KB is 102400

This is not solve my problem.

Below is the log of adapter.

2012-02-06 16:58:54 Success Message successfully received by messaging system. Profile: XI URL: http://sapxid01:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

2012-02-06 16:58:54 Success Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

2012-02-06 16:58:54 Success Message successfully put into the queue.

2012-02-06 16:58:54 Success The message was successfully retrieved from the receive queue.

2012-02-06 16:58:54 Success The message status set to DLNG.

2012-02-06 16:58:54 Success Delivering to channel: SOAP_FlexNet_Receiver

2012-02-06 16:58:54 Success MP: Entering module processor

2012-02-06 16:58:54 Success MP: Processing local module localejbs/AF_Modules/MessageTransformBean

2012-02-06 16:58:54 Success Transform: using Transform.Class: $identity

2012-02-06 16:58:54 Success Transform: transforming the payload ...

2012-02-06 16:58:54 Success Transform: successfully transformed

2012-02-06 16:58:54 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

2012-02-06 16:58:54 Success SOAP: request message entering the adapter with user J2EE_GUEST

2012-02-06 16:58:54 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request

2012-02-06 16:58:54 Success SOAP: sending a delivery error ack ...

2012-02-06 16:58:54 Success SOAP: sent a delivery error ack

2012-02-06 16:58:54 Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request

2012-02-06 16:58:54 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request

2012-02-06 16:58:54 Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request

2012-02-06 16:58:54 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 400 Bad Request: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request.

2012-02-06 16:58:54 Error The message status set to NDLV.

Please help!!!

Regards,

Pradeep