Skip to Content
avatar image
Former Member

HTTP 500 Internal Server Error in SXMB_MONI

Hello,

Getting HTTP 500 Internal Server Error while running some Synchronous Scenario of ECC -> PI -> Legacy system (SOAP adapter). Following are the errors received in SXMB_MONI.

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIAdapterFramework</SAP:Category> 
  <SAP:Code area="MESSAGE">GENERAL</SAP:Code> 
  <SAP:P1 /> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
  <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error</SAP:AdditionalText> 
  <SAP:Stack /> 
  <SAP:Retry>M</SAP:Retry> 
  </SAP:Error>

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIServer</SAP:Category> 
  <SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code> 
  <SAP:P1>500</SAP:P1> 
  <SAP:P2>Internal Server Error</SAP:P2> 
  <SAP:P3>(See attachment HTMLError for details)</SAP:P3> 
  <SAP:P4 /> 
  <SAP:AdditionalText /> 
  <SAP:Stack>Error while sending by HTTP (error code: 500 , error text: Internal Server Error) (See attachment HTMLError for details)</SAP:Stack> 
  <SAP:Retry>N</SAP:Retry> 
  </SAP:Error>

Both the errors are not regular but comes up every now and than. If the scenario is re-run from ECC than it works.

Please advise.

Thanks a lot

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 11, 2010 at 09:28 AM

    Check the request format (message structure) that XI/ PI is sending to the Legacy System and also verify the Target URL in SOAP channel.

    For more information check point6 of this blog: /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

    Regards,

    Abhishek.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Gopalkrishna Baliga

      Hi Gopal,

      Change the "messaging.synMessageRemove.removeBody" parameter of the "com.sap.aii.af.ms.svc" service in the NWA (NetWeaver Administrator) or in the Config Tool. Change the value from "True" to "False".

      To access NWA: http://<hostname>:<port>/nwa

      Also check note #1452307, it was supposed to be updated sometime in June. If it is than apply that note and problem will be resolved otherwise use the workaround mentioned above.

      Regards

  • avatar image
    Former Member
    Jun 11, 2010 at 09:35 AM

    Hi Chanakya,

    Please see this link for http error.

    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

    Thanks

    Nidhi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 11, 2010 at 11:17 AM

    Hi,

    Please check your content type in MONI. The content type should be text/xml for soap adapters.

    Thanks

    Uaruna

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Unnamalai,

      We are also facing same kind of error, The content is coming as TEXT/HTML. Just wanted to ask if it is the error with the payload/data or something we have to change in PI?

      Below is the error:

      com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 System.ServiceModel.ServiceActivationException

      Regards,

      Akshat Saluja