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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  message

    Posted 03/18/09 06:33 PM

    Hello,
    I have the following

    ... ---- ... ----

    </ mySap>
    I want to extract … </ order> and save it in TN, what are the steps to follow


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


  • 2.  RE: message

    Posted 03/18/09 06:50 PM

    use xmlStringToxmlNode, to convert the inbound xml to node, than use xmlNodeToDocument ( you need to provide the doc type associated with this document), to convert the node to document.

    Using branch statement, traverse to the xpath ( ‘/doctype/mySap/…/Order’), and get the field you are looking for.

    use addContentPart service, to add the value to tn document.


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


  • 3.  RE: message

    Posted 03/19/09 12:42 PM

    Here is the exact file:

    <?xml version="1.0" encoding="ISO-8859-1"?> gdf001 testmccann gdf001 testmccann gdf001 testmccann [LEFT] I want to extract the "order" when messageType = 'Order' [/LEFT]
    #edi
    #webMethods
    #Integration-Server-and-ESB