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.  Inbound HTTP Request

    Posted Tue January 13, 2009 10:06 PM

    Hi,

    One of our application can do HTTP Post on WM and i would like to know how can i desgin a flow service in WM to accept this XML file.

    I searched this forum but didn’t get anything related to this or i might have not miss something.

    Appreciate if you can help me to get this done.

    Thanks


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Inbound HTTP Request

    Posted Wed January 14, 2009 01:24 PM

    Hi,
    Your flow service should be designed with an input of xmlNode which would be of object data type. Your application must convert the xmldata to a xmlnode and invoke the service over HTTP.

    The URL which should be used would look like following if your webMethods IS service’s input variables name is xmlNode:
    http://<:/invoke/?xmlNode=

    Kind Regards,
    Soumik


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Inbound HTTP Request

    Posted Thu January 15, 2009 01:36 AM

    Hi Soumik,

    Thanks for the reply. Is it possible to develop any service which can be invoke like

    http://<:/invoke/<serviceName>

    i mean without any name=pair along with the HTTP URL. Because the application which is going to post to WM is not having any ooption to specify argument.

    Thanks


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 4.  RE: Inbound HTTP Request

    Posted Thu January 15, 2009 04:17 PM

    Hi,

    Yes, you can do this. If the XML is sent in the HTTP body (instead of name/value pair in the URL), the XML data will be present in the service you invoke in an object called ‘node’ (type ‘object’). You can handle this with pub.xml:xmlNodeToDocument

    Kind regards,

    Koen de Vries


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB