IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  SOAP to REST transformation!

    Posted Thu January 28, 2021 06:49 AM

    Hello,

    How can i change default as i suppose contetnt-type application/soap+xml to text/xml

    I tried do it via polices with setting request transformation like:

    ${request.headers.Content-Type} text/xml

    But had no success.

    Please advise!

    Thank you.

    {
    “Exception”: “API Gateway encountered an error. Error Message: API Gateway outbound client encountered An HTTP transport error occured. Error Code: 415, Error Message: Cannot process the message because the content type 'application/soap+xml; charset=UTF-8; action="http://xxxx/xxx/xxx/xxxxxx/xxxxxx/Login"' was not the expected type 'text/xml; charset=utf-8'. . Request Details: Service - 1, Operation - Login, Invocation Time:2:43:32 PM, Date:Jan 28, 2021, Client IP - 10.40.12.23, User - Default and Application:null”
    }


    #API-Management
    #API-Gateway
    #API-Portal
    #webMethods


  • 2.  RE: SOAP to REST transformation!

    Posted Fri February 05, 2021 03:58 AM

    There’s a place in API Gateway administration/configuration to map custom content types to your preferred content type. Please check that as well.


    #API-Portal
    #API-Gateway
    #API-Management
    #webMethods


  • 3.  RE: SOAP to REST transformation!

    Posted Mon February 15, 2021 11:59 PM

    Use the “Custom HTTP Header” policy within Routing to set Content-Type as text/xml.


    #API-Management
    #API-Portal
    #API-Gateway
    #webMethods