Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only

Content-Type Issue in Invocation Channel

  • 1.  Content-Type Issue in Invocation Channel

    Posted Fri January 07, 2022 10:57 PM
    org.apache.axis2.AxisFault: HTTP ( 415 ) Cannot process the message because the content type 'application/soap+xml; charset=UTF-8;


    Situation:
    1. We had created an Invocation Channel to make a Syncrhonous call for a legacy SOAP webservice. 
    2. We configured the object structure and the webservice end point handlers.
    3. When the request is pushed from Maximo (the event is triggered by a click of a button)- the request get published with Content-Type - application/soap+xml; However, the expectation is to send it with text/xml.

    We tried SOAP Properties as both SOAP 11 or SOAP 12. 
    We tried manipulating our XSLT to hard code content type = text/xml at the header level- but before even it could reach the XSLT we get application error.  
    When we try the same service in SOAP UI - Request and response works fine without any issues with Content-Type - text/xml. 

    Error in Sysout : org.apache.axis2.AxisFault: HTTP ( 415 ) Cannot process the message because the content type 'application/soap+xml; charset=UTF-8;

    Question:
    1. Is this a problem with Inovocation Channel ?
    2. Is there any other issue in web.xml  (we verified the meaweb xmls and seems fine and the default content type is text/xml)

    Despite all these settings, we are getting same error on two services built on Invocation channel. Please advise if you have come across this situation


    ------------------------------
    Venkataraman Guruswamy
    ------------------------------

    #AssetandFacilitiesManagement
    #Maximo