You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by rizwkhan123 <ri...@cisco.com> on 2009/11/03 14:02:47 UTC
Jackrabbit Webdav 1.4 SearchMethod issue
Dear Users,
I am having issues with the SearchMethod... always get a 400 error...
Using following as a search request query:
<?xml version="1.0" encoding="UTF-8"?><g:searchrequest
xmlns:M="urn:schemas:httpmail:" xmlns:R="http://schemas.microsoft.com/repl/"
xmlns:g="DAV:"><g:sql>SELECT "DAV:id", "DAV:href",
"http://schemas.microsoft.com/repl/resourcetag",
"urn:schemas:httpmail:subject", "urn:schemas:httpmail:from",
"urn:schemas:httpmail:datereceived" FROM SCOPE('shallow traversal of
"https://myserver.com/exchange/"') WHERE "DAV:ishidden"=False AND
"DAV:isfolder"=False</g:sql></g:searchrequest>
The statement looks as below:
sMethod =new SearchMethod("https://myserver.com/exchange/",
searchQueryAsAbove,"xpath");
Can you please guide or provide me examples of setting SearchMethod
correctly.
Thanks in advance for the help.
With regards,
Rizwan
--
View this message in context: http://old.nabble.com/Jackrabbit-Webdav-1.4--SearchMethod-issue-tp26160100p26160100.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.