Maximo Open Forum

 View Only
  • 1.  Content-Type Application/Soap+ xml error

    Posted 01-07-2022 23:32
    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
    #Integrations

    ------------------------------
    Venkataraman Guruswamy
    Slb
    ------------------------------


  • 2.  RE: Content-Type Application/Soap+ xml error

    Posted 03-29-2022 13:15
    We resolved this problem by providing a header property in middleware and hard coded it to text/xml. We were able to proceed further.
    (Or)
    As well we were able to set the http header property and make this work

    ---------------------------------
    Thanks & Regards
    Venkat
    ---------------------------------