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.  null result from filesystem xquery

    Posted 01/20/03 10:39 PM

    just getting started here, but copied the style
    of the example theatre and PLAY directories …
    attached my result, query, dtd, data file.

    Have I missed some important step in setting up a collection or querying a new collection?

    Thanks in advance for any advice you can offer.kolstere@landcareresearch.co.nz
    Liz.
    WaitutuQueryProblem.txt (25.3 KB)


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: null result from filesystem xquery

    Posted 01/21/03 05:58 PM

    I’m no expert in this area but here’s what I think the problem is - someone please correct me if I’m wrong.

    You have specified in your Query:

    for $w in collection("BIP\WaitutuPlantFile")/WaitutuSiteData/PLOTRECORDS/PLOTRECORD</pre>so Quip will search all the files in directory "...\BIP\WaitutuPlantFile" for xml containing nodes:<BR><pre class="ip-ubbcode-code-pre">WaitutuSiteData/PLOTRECORDS/PLOTRECORD</pre>There aren't any.If you change your query to<pre class="ip-ubbcode-code-pre"><result> {
    for $w in collection("BIP\WaitutuPlantFile")/PLOTRECORDS/PLOTRECORD
    return $w
    }
    </result>

    …it should work.
    HTH


    #API-Management
    #Tamino
    #webMethods