We're running Livelink 9.7.1 on Windows Server 2003. We set up Tomcat6 and deployed the les-services.war servlet. We can access Authentication?wsdl to bring up the wsdl for the service.
Using the "Tree View Java" sample all attempts to login show the dialog "Invalid username/password specified." Sniffing the traffic over the wire confirms this, and looks otherwise ok:
POST /les-services/services/Authentication HTTP/1.1SOAPAction: "urn:Core.service.livelink.opentext.com/AuthenticateUser"Content-Type: text/xml;charset="utf-8"Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2User-Agent: JAX-WS RI 2.1.2-b05-RC1Host: XXHOSTXX:8080Connection: keep-aliveContent-Length: 309<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><AuthenticateUser xmlns="urn:Core.service.livelink.opentext.com" xmlns:ns2="urn:api.ecm.opentext.com"><userName>XXUSERXX</userName><userPassword>XXPASSXX</userPassword></AuthenticateUser></S:Body></S:Envelope>HTTP/1.1 500 Internal Server ErrorServer: Apache-Coyote/1.1Content-Type: text/xml;charset=utf-8Transfer-Encoding: chunkedDate: Fri, 15 Oct 2010 19:43:32 GMTConnection: close6e<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body>11ee<S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode xmlns:ns0="urn:Core.service.livelink.opentext.com">ns0:Core.LoginFailed</faultcode><faultstring>Invalid username/password specified.</faultstring><detail><ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" class="javax.xml.ws.soap.SOAPFaultException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false"><message>Invalid username/password specified.</message><ns2:stackTrace><ns2:frame class="com.opentext.livelink.service.core.ExceptionUtil" file="ExceptionUtil.java" line="138" method="throwSOAPFaultException"/><ns2:frame
I've verified that the user & pass are definitely, absolutely, positively able to log in to the main web interface, copying & pasting them directly from the network dump into the browser.
web.xml's host/port/encoding are localhost/2099/Default, respectively. I've verified I can connect there on the host, and changing "localhost" to "invalid" gives a different error through the webservice, "cannot contact server". Tried changing encoding to "UTF8", but nothing changed.
Tomcat's stdout.log didn't shed much light on things, just added an error code:
2010-10-15 15:23:49,913 WARN [http-8080-1] Livelink error occurred2010-10-15 15:23:49,913 WARN [http-8080-1] Status: -21474826452010-10-15 15:23:49,913 WARN [http-8080-1] Error Code: Invalid username/password specified.2010-10-15 15:23:49,913 WARN [http-8080-1] Error Message: Invalid username/password specified.2010-10-15 15:23:49,913 WARN [http-8080-1] ApiError:
I'm pretty much out of ideas, any clue why it's getting invalid login?