webserviceclient.properties not read
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2006 07:25 AM
I've been trying SDK 1.3 webservice clent samples on my pc and have seen that the webservice client always connect to my localhost alfresco server, never to the remote server I've set in the webserviceclient.properties file. It's just like this file is never read.
As I read in the forum someones had similar problem with version 1.3 of Alfresco, I first changed the "web-service-client.jar" to the one included in sdk1.4, without any good news.
Then I have imported the full sdk 1.4 in my Eclipse but I still get the same problem. The webservice client only connect to the localhost.
Anyway, when running the code the property file is correctly copied from
..\WebServiceSamples\src\alfresco\extension
to
..\WebServiceSamples\build\alfresco\extension
Is this correct ?
I even set crazy things like
repository.location=http://localhost:8082
and see the client keeps connecting to the localhost at port 8080.
Is there some additional things to set in Eclipse ?
Any help should be appreciated,
Bernie
As I read in the forum someones had similar problem with version 1.3 of Alfresco, I first changed the "web-service-client.jar" to the one included in sdk1.4, without any good news.
Then I have imported the full sdk 1.4 in my Eclipse but I still get the same problem. The webservice client only connect to the localhost.
Anyway, when running the code the property file is correctly copied from
..\WebServiceSamples\src\alfresco\extension
to
..\WebServiceSamples\build\alfresco\extension
Is this correct ?
I even set crazy things like
repository.location=http://localhost:8082
and see the client keeps connecting to the localhost at port 8080.
Is there some additional things to set in Eclipse ?
Any help should be appreciated,
Bernie
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2006 09:11 AM
Oups, I've just found in the WebServiceFactory.java we are supposed to put the file in …/alfresco/ directory, **NOT** in ../alfresco/extension/.
As it is in ../alfresco/extension/ directory when it comes out of the SDK box, we have to move it one level upstair.
I hope this post will make save time to someones…
Bernie
As it is in ../alfresco/extension/ directory when it comes out of the SDK box, we have to move it one level upstair.
I hope this post will make save time to someones…
Bernie