You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Tammo van Lessen (JIRA)" <ji...@apache.org> on 2010/04/13 13:36:50 UTC

[jira] Updated: (ODE-616) create host and port properties for endpoint config

     [ https://issues.apache.org/jira/browse/ODE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tammo van Lessen updated ODE-616:
---------------------------------

    Fix Version/s: 1.3.5
                       (was: 1.3.4)

Postponed to 1.3.5.

> create host and port properties for endpoint config
> ---------------------------------------------------
>
>                 Key: ODE-616
>                 URL: https://issues.apache.org/jira/browse/ODE-616
>             Project: ODE
>          Issue Type: Improvement
>          Components: Axis2 Integration
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3.5
>
>
> Let's assume you have a wsdl with multiple ports running on localhost:8080. Today if you migrate this service to another machine myserver:8888, the only way to specify the new machine (without changing the wsdl) is to use the 'address' property once per port, repeating the url paths from the wsdl file.
> For instance:
>     alias.arithmetics-ns=http://ode/bpel/test/arithmetics
>     arithmetics-ns.ArithmeticsService.GET_httpport.ode.address=http://myserver:8888/HttpBindingTest/ArithmeticsService/GET
>     arithmetics-ns.ArithmeticsService.POST_httpport.ode.address=http://myserver:8888/HttpBindingTest/ArithmeticsService/POST
> Having two new properties 'host' and 'port' would allow to specify the new machine only once for all ports, without repeating the url paths.
> The previous example would become:
>     alias.arithmetics-ns=http://ode/bpel/test/arithmetics
>     
>     arithmetics-ns.ArithmeticsService.ode.host=myserver
>     arithmetics-ns.ArithmeticsService.ode.port=8888
> One edge case is when (host or port) and address are set. The address property must take precedence over host or port properties.
> So for instance, with the following endpoint file:
>     alias.arithmetics-ns=http://ode/bpel/test/arithmetics
>     
>     arithmetics-ns.ArithmeticsService.ode.host=myserver
>     arithmetics-ns.ArithmeticsService.ode.port=8888
>     arithmetics-ns.ArithmeticsService.GET_httpport.ode.address=http://localhost:9090/HttpBindingTest/ArithmeticsService/GET
> All service port addresses will point to the mahcine myserver:8888 except GET_httpport that would be invoked with the above url.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira