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.  xml header to be removed when using xmlnode to document

    Posted 01/20/12 08:24 AM

    My document Named 'Myschool’structure is as below :



    i am receiving an xml data from external system as below in my document named MYSCHOOL

    <?xml version="1.0" ?> 100

    When i use xmlStringToXMLNode and xmlNodeToDocument
    i get the document as below :
    Myschool
    @version 1.0

    100

    Now how will exclude the @ field created from the xmlheaders and create the document in developer ?


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


  • 2.  RE: xml header to be removed when using xmlnode to document

    Posted 01/23/12 04:17 PM

    You don’t need to exclude it. Just ignore it when mapping.


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


  • 3.  RE: xml header to be removed when using xmlnode to document

    Posted 01/31/12 05:38 AM

    Or if you dont need the @ symbol but want something else then just map the particular string (for eg ATTR_) to the attrPrefix input field of the service pub.xml:xmlNodeToDocument.

    In your case it will come as ATTR_version 1.0


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