Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error

$
0
0

Hi all,

 

 

 

I am trying to test an ICO using Soap UI.

 

The scenario is SOAP - SOAP

 

I am using SOAP 1.1 protocol with proper authentication data.

 

The target URL used in Receiver Soap adapter is

 

http://<host_server>:50000/MessagingSystem/receive/JPR/XI

 

 

and in browser, the above URL redirects to:

==============================================================================================

 

This XML file does not appear to have any style information associated with it. The document tree is shown below.

     

<StatusInfo>

<StatusMessage>MessagingServlet is active.</StatusMessage>

<Version>Messaging System 7.1</Version>

<Usage>

http://[host]:[port]/MessagingSystem/receive/[connection]/[protocol]

</Usage>

<RequestURL>

http://<host_server>:50000/MessagingSystem/receive/JPR/XI

</RequestURL>

<Connection>

<Name>JPR</Name>

<Status>started</Status>

<Listener>registered</Listener>

</Connection>

<Protocol>

<Name>XI</Name>

<Status>EventHandler registered</Status>

</Protocol>

</StatusInfo>

==========================================================

 

 

Just for testing, I have used the same structure in Sender and Receiver side.

 

In SOAP UI,

 

It is showing this below error:

<detail>

            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

               <context>XIAdapter</context>

               <code>ADAPTER.JAVA_EXCEPTION</code>

               <text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error

============================================================================================

 

Gone through many blogs related to this issue and tried many things starting with the option "Do Not Use SOAP Envelope" , adding localejbs/AF_Modules/MessageTransformBean

 

 

The audit log for the failed message in PI is given below:

 

=========================================================================================

 

2013-05-26 19:47:42.904  Success  MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
2013-05-26 19:47:43.987SuccessXISOAP: Received an XI message for processing
2013-05-26 19:47:43.987SuccessXI Packaging (Bulk Mode) is not Enabled, Proceeding to the Normal Processing.
2013-05-26 19:47:43.987SuccessSOAP: request message entering the adapter with user Guest
2013-05-26 19:47:44.108ErrorFailed to call the endpoint: HTTP 500 Internal Server Error
2013-05-26 19:47:44.109ErrorSOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error
2013-05-26 19:47:44.122ErrorSOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error
2013-05-26 19:47:44.122ErrorMP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error
2013-05-26 19:47:44.126ErrorException caught by adapter framework: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error
2013-05-26 19:47:44.126ErrorTransmitting the message using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error
2013-05-26 19:47:44.166ErrorMessage status set to FAIL
2013-05-26 19:47:44.214ErrorReturning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error
2013-05-26 19:47:44.214ErrorMP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error
2013-05-26 19:47:44.215ErrorSOAP: call failed: com.sap.aii.af.lib.mp.module.ModuleException: senderChannel 1326c2f505563c3783bc47a1f288082e: Catching exception calling messaging system
2013-05-26 19:47:44.215ErrorSOAP: call failed com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 500 Internal Server Error

 

 

 

Now I am not having any clue where I am going wrong. Is it anything to do with the Target URL or SOAP receiver module configuration?

 

Please help me on this.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>