Hi,
First steps with the Content Web Services, I've generated the jax-ws clients and managed to log on the Content Server. However when I try to execute a search I get this exception:
javax.xml.ws.soap.SOAPFaultException: ResultTransformationSpec must be defined
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
I've checked the Content web services API and found a setResoulttransformationSpec on the SimpleSearchRequest object but that method is not available on the generated classes. Only these are available.
SingleSearchRequest sSearch = new SingleSearchRequest();
sSearch.setDataCollectionSpec("'LES Enterprise Search'");
sSearch.setQueryLanguage("Livelink Search API V1");
sSearch.setFirstResultToRetrieve(1);
sSearch.setNumResultsToRetrieve(100);
sSearch.setResultOrderSpec(value);
sSearch.setResultSetSpec(value);
We're using Content Server 10.0.0 Update 4.
Thanks in advance.