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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

query XML NameSpace problem

  • 1.  query XML NameSpace problem

    Posted Wed September 09, 2009 02:36 AM

    Here is my xml:<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ns1:PO_CHANGE xmlns:ns1=“[URL]http://XX.com/odm/po/v2_0[/URL]”>
    XXAP_APJ
    XX-AP
    </ns1:PO_CHANGE>

    I used queryXMLNode to query the Result tag’s namespace, which is [URL]http://XX.com/odm/po/v2_0[/URL], but failed. Could someone help me out with this?
    I am using IS6.1.
    Thanks in advance

    best regards,
    Patrick


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


  • 2.  RE: query XML NameSpace problem

    Posted Wed September 09, 2009 09:24 PM

    Patric,

    I don’t know if the following solution work for you:
    In pub.xml:queryXMLNode flow service Variables tab select XQL(not WQL) , put query like this:
    //@xmlns:ns1
    set type to String and create a string variable in the left pane.
    see what you can get.

    Thanks

    Guixia


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