cancel
Showing results for 
Search instead for 
Did you mean: 

Error executing WebService example GetStores

danisowa
Champ in-the-making
Champ in-the-making
Hi there,

i have installed eclipse on windows.
JDK 1.5.0 Update 11 is also installed.
I'm running Apache Tomcat with Alfresco on a Windows Server.

Now when i'm trying to execute the Webservice examples i get an error.
I got the error at all examples.

I'm trying to start the example out of eclipse…. this should be possible or?
the properties file is edited so that the IP fits to the Server.

Here's the error message…..

Exception in thread "main" org.alfresco.webservice.util.WebServiceException: Error starting session.
      at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:94)
      at org.alfresco.sample.webservice.GetStores.main(GetStores.java:50)
Caused by: java.net.ConnectException: Connection refused: connect


Thanks for your help.

DaniSowa
3 REPLIES 3

unknown-user
Champ on-the-rise
Champ on-the-rise
I am facing the same error. Did you get any solution for this error.
Awaiting for your valuable response.

Regards
Nishant

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi,

I solved the problem.


Regards
Nishant

mesdocs
Champ in-the-making
Champ in-the-making
Hi,

In the webserviceSamples project you could just copy the alfresco/extension/webserviceclient.properties in the upper directory alfresco/webserviceclient.properties.

then you should modify the repository.location entry in the file to point to your correct repository location.

Regards
mesdocs
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.