Hi!
I have installed Content Server v. 10 on my server to test EWS. I have also installed Apache Tomcat (newest) and deployed the CS EWS on the same machine.
Now I'm trying to make the sample client (e.g. the Java TreeView client) work. I have been able to generate the proxies (using wsimport) and compile the client code.
When I launch the application however, I get the following exception:
Server did not accept open request
javax.xml.ws.soap.SOAPFaultException: Server did not accept open request
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy31.authenticateUser(Unknown Source)
at com.opentext.livelink.service.webservice.WebServiceUtil.getAuthenticationToken(WebServiceUtil.java:52)
at com.opentext.livelink.service.sample.lltreeview.Tree.login(Tree.java:125)
at com.opentext.livelink.service.sample.lltreeview.Tree.<init>(Tree.java:85)
at com.opentext.livelink.service.sample.lltreeview.Tree.createAndShowGUI(Tree.java:726)
at com.opentext.livelink.service.sample.lltreeview.Tree$4.run(Tree.java:718)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
The exception gets thrown at this line (the second one):
Authentication endpoint = getAuthenticationService( location );
return endpoint.authenticateUser( username, password );
The parameters are:
"http://ipaddr:8080/les-services/services/Authentication"
"Admin"
"livelink"
When typed http://ipaddr:8080/les-services/services/Authentication?wsdl into a browser, a correct WSDL gets returned. The Admin/livelink username/password should be correct, because I did not change anything in this regard and am able to authenticate using these when logging in to the CS directly.
Thanks for any advice.