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.

 View Only
  • 1.  Unable to parse input SOAP messages

    Posted Mon November 06, 2017 04:51 PM

    Hi,

    I have a requirement where some external system sends a SOAP message to webMethods using HTTP POST.

    The URL of the service which needs to be invoked is provided to external system and it is :

    http://localhost:5555/invoke/ABC/xservice

    In webMethods we didnt configured any WSD and web services are NOT involved here.

    The issue is I am unable to parse the SOAP messages and extract the body of SOAP messages.

    Could anyone help me in this regard.

    IS version using is 9.7.

    Thanks,
    Srini


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Unable to parse input SOAP messages

    Posted Tue November 07, 2017 10:28 AM

    Hi Srinivas,

    I dont think that this will work.

    You will have to create a WSD for your WebService and provide the URL as:
    http://localhost:5555/ws/ABC/xservice

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Unable to parse input SOAP messages

    Posted Fri November 10, 2017 07:40 AM

    Thanks Holger.

    The external system is sending XML wrapped with SOAP. I created a flow service, created a provider web service and provided SOAP endpoint address to external system to do HTTP POST.

    Below is the Message structure they are sending to webMethods using HTTP POST.

    <SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/”>
    SOAP-ENV:Header/
    SOAP-ENV:Body


    --- ---

    The IS SOAP parser is parsing the message and sending the below documents

    But, in IS we are receiving 2 documents as:





    instead of a document as below.

    ----- ----- --- ---
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Unable to parse input SOAP messages

    Posted Tue November 14, 2017 04:54 AM

    You may use soap over JMS. You can receive that XML and extract SOAP message as is. After that publish that to JMS provider to subscribe it using soap trigger.

    Rest should work as is


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Unable to parse input SOAP messages

    Posted Thu November 23, 2017 04:23 AM

    Hi Srinivas,

    I believe this will not work.
    They have to consume your webService and hit the same URL.
    Also, if they hit your webService URL with their own SOAP xml structure i believe our IS will not parse as expected. It might be because of issue with document styles.

    Please correct me if my understanding is wrong.

    Thanks,
    Vinay.


    #Integration-Server-and-ESB
    #webMethods