| Summary | How can I specify the HTTP port my client will use to contact the Artix Locator in configuration rather than in WSDL? | 
|---|---|
| Article Number | 18822 | 
| Environment | All Supported Operating Systems Artix 5.x | 
| Question/Problem Description | How can I specify the HTTP port my client will use to contact the Artix Locator in configuration rather than in WSDL? Can the HTTP port of an Artix Locator service be defined in configuration on the client side? | 
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | By separating out the client side configuration from the locator service, using scoping it is possible to configure this as: WSDL_PATH="../../../wsdl"; LOCATOR_PORT="43210"; LOCATOR_HOST="thehost"; bus:initial_contract:url:locator = "http://%{LOCATOR_HOST}:%{LOCATOR_PORT}/services/LocatorService"; 
 
 entity Note the locator should be started in the entity.locator_service scope and the client in the entity.locator_client scope | 
| Workaround | |
| Notes | |
| Attachment | 
| Created date: | 06 September 2011 | 
|---|---|
| Last Modified: | 13 February 2013 | 
| Last Published: | 23 June 2012 | 
| First Published date: | 10 September 2011 | 
#KnowledgeDocs
#Orbix

