Skip to Content
0
Mar 26, 2012 at 05:44 AM

SOAP receiver - java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

643 Views

Hello

I have ABAP Proxy to SOAP sceanrio. While posting to the target URL i am receiving following message in the receiver soap communcation channel.

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

When I tried on PI server pasting this URL it gives me the windows pop up for credentials and upon providing the username and password it works.

But whereas I provide the same credentials in the communication channel during posting it displays the above message.

Also I tried providing the below module as well ,

localejbs/AF_Modules/MessageTransformBean L MSG

module Key

MSG Transform.ContentType text/xml

But no luck.