AnsweredAssumed Answered

Web Service Problem

Question asked by tobias.amon@elca.ch on Sep 10, 2007
Hello,

I have built a WSDL-Client using Eclipse (WTP)

My App looks like this:
         AuthenticationServiceLocator aSLocator = new AuthenticationServiceLocator();
         aSLocator.setAuthenticationServiceEndpointAddress(DEFAULT_ENDPOINT_ADDRESS + AUTHENTICATION_SERVICE_ADDRESS);
         AuthenticationServiceSoapBindingStub authService = (AuthenticationServiceSoapBindingStub) aSLocator.getAuthenticationService();
         AuthenticationResult result = authService.startSession("admin", "admin");
         String ticket = result.getTicket();
         _log.info("The Ticket: " + ticket);

When executing this I the log msg:
No match was found for http://localhost:8080/alfresco/api/AuthenticationService
And a ticket:
The Ticket: TICKET_92350d05b2beede144ff797638707e33e28caf87
There is no exception. The app seems to hang there because nothing is executed after this point.

Outcomes