XQuery with Perl SOAP example

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

XQuery with Perl SOAP example

P.Saffrey
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")]
return
        $param

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")]]
return
        $param

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
http://skull.complex.ucl.ac.uk:8080/exist/services/Query?WSDL)

Peter

--
[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]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...