Using webservice client on Containers with Mutiple instances
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 01:00 AM
I have already set up Tomcat Servlet Containers running multiple instances of alfresco. Currently the Java and PHP webservices clients only allow you to change the host/port of the alfresco instance, not the servlet context.
I was able to hack this in with the PHP client, I am going to have to do the same with the Java Client.
I would like to propose changing
to
I was able to hack this in with the PHP client, I am going to have to do the same with the Java Client.
I would like to propose changing
/** Default endpoint address **/ private static final String DEFAULT_ENDPOINT_ADDRESS = "http://localhost:8080"; /** Service addresses */ private static final String AUTHENTICATION_SERVICE_ADDRESS = "/alfresco/api/AuthenticationService"; private static final String REPOSITORY_SERVICE_ADDRESS = "/alfresco/api/RepositoryService"; private static final String CONTENT_SERVICE_ADDRESS = "/alfresco/api/ContentService"; private static final String AUTHORING_SERVICE_ADDRESS = "/alfresco/api/AuthoringService"; private static final String CLASSIFICATION_SERVICE_ADDRESS = "/alfresco/api/ClassificationService"; private static final String ACTION_SERVICE_ADDRESS = "/alfresco/api/ActionService"; private static final String ACCESS_CONTROL_ADDRESS = "/alfresco/api/AccessControlService"; private static final String ADMINISTRATION_ADDRESS = "/alfresco/api/AdministrationService"; private static final String DICTIONARY_SERVICE_ADDRESS = "/alfresco/api/DictionaryService";
to
/** Default endpoint address **/ private static final String DEFAULT_ENDPOINT_ADDRESS = "http://localhost:8080/alfresco"; /** Service addresses */ private static final String AUTHENTICATION_SERVICE_ADDRESS = "/api/AuthenticationService"; private static final String REPOSITORY_SERVICE_ADDRESS = "/api/RepositoryService"; private static final String CONTENT_SERVICE_ADDRESS = "/api/ContentService"; private static final String AUTHORING_SERVICE_ADDRESS = "/api/AuthoringService"; private static final String CLASSIFICATION_SERVICE_ADDRESS = "/api/ClassificationService"; private static final String ACTION_SERVICE_ADDRESS = "/api/ActionService"; private static final String ACCESS_CONTROL_ADDRESS = "/api/AccessControlService"; private static final String ADMINISTRATION_ADDRESS = "/api/AdministrationService"; private static final String DICTIONARY_SERVICE_ADDRESS = "/api/DictionaryService";
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2006 05:30 AM
Hi,
Yes this is a change that we should make.
The best way to get this into the main code line is to raise an issue on JIRA and supply the details of any code patches you think need to be made in order to fix the issue.
Many thanks,
Roy
Yes this is a change that we should make.
The best way to get this into the main code line is to raise an issue on JIRA and supply the details of any code patches you think need to be made in order to fix the issue.
Many thanks,
Roy
