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.  Need Particular value from a document as a string

    Posted 08/03/15 11:39 AM

    Hi ,

    I have a situation where my input is an XML i need a particular field value from it i tried to do
    xmlstringToDocument

    from that document i was unable to get a particular value from it is there any built in service for please let me know

    I also tried another way xmlstring to xmlnode and then queryxmlnode even though it is retruning me a null value


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 2.  RE: Need Particular value from a document as a string

    Posted 08/03/15 03:07 PM

    Hi Sai,

    please note that the transformation of xml related objects is a circle of 3 services:

    • pub.xml:xmlNodeToDocument
    • pub.xml:documentToXMLString
    • pub.xml:xmlStringToXMLNode

    Dependend on which type you start with and which one you need for further processing you have to use one or two of them using the output of the first one as input on the second one.

    The service pub.xml:queryXMLNode should exactly do what meets yor requirement.

    See IntegrationServer Build-In-Services Guide for further informations on these services.

    Can you share your IS version as well as some error messages from the server log (if there are any)?
    Can you share a sample of your document structure as well as the query you have already tried for queryXMLNode?

    Regards,
    Holger


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Need Particular value from a document as a string

    Posted 08/04/15 11:32 AM

    Did you give correct XQL path in the queryxmlnode and may be that’s why it’s returning null…

    Can you write up here the syntax you set?

    HTH,
    RMG


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods