I am successfully using the authentication and documentmanagement web services. First by verifying the xml in soap, then creating the calls for applications written in php.
Now I need to use SearchService Web Service. I have had difficulty getting easy to follow instructions in how to code this,
I have made some progress in getting some of the methods to work. But I run in to a recurring error when calling the primary search method.
My xml, I've tried many variations on this.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:api.ecm.opentext.com" xmlns:urn1="urn:SearchServices.service.livelink.opentext.com">
<soapenv:Header>
<urn:OTAuthentication>
<!--Optional:-->
<urn:AuthenticationToken>c4EvoWUb5DjRuYRkDSaoHBdxopoWlBzFeRMGJiH1c99Jm2CbwmkNpvGGQojqQEjz</urn:AuthenticationToken>
</urn:OTAuthentication>
</soapenv:Header>
<soapenv:Body>
<urn1:Search>
<!--Optional:-->
<urn1:queries>
<!--Optional:-->
<urn1:DataCollectionSpec>'func=search.getslices '</urn1:DataCollectionSpec>
<urn1:FirstResultToRetrieve>1</urn1:FirstResultToRetrieve>
<urn1:NumResultsToRetrieve>1</urn1:NumResultsToRetrieve>
<!--Optional:-->
<urn1:QueryLanguage>Livelink Search API V1</urn1:QueryLanguage>
</urn1:queries>
<!--Optional:-->
</urn1:Search>
</soapenv:Body>
</soapenv:Envelope>
The response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode xmlns:a="urn:SearchServices.service.livelink.opentext.com">a:1</faultcode>
<faultstring xml:lang="en-US">The Slice you specified is inaccessible.</faultstring>
</s:Fault>
</s:Body>
</s:Envelope>
Any pointers would be greatfully received.