XQuery with Perl SOAP example

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

XQuery with Perl SOAP example

I am trying to make use of the eXist SOAP interface. It works fine with
some examples, but not others. The following query:

for $param in collection("/db/sysbio/parameters")
where $param//name[contains(., "blood")]

Works fine when using the Java client found in $EXISTHOME/bin/, returning
appropriate matches, but does not work with the query.pl found in
$EXISTHOME/samples/soap - it returns no matches. By contract, the query:

for $param in
collection("/db/sysbio/parameters")//parameter[name[contains(., "blood")]]

finds matches both with the Java client and the Perl script. What is it
about the query containing the "where" which breaks the SOAP interface?

(try it yourself by setting the service to


[hidden email] http://www.cs.ucl.ac.uk/staff/P.Saffrey/
Beacon Project http://www.grid.ucl.ac.uk/biobeacon/

SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Exist-open mailing list
[hidden email]