You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2009/08/19 17:57:15 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 ]
Alex Boisvert updated ODE-616:
------------------------------
Fix Version/s: (was: 1.3.3)
1.3.4
> 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.4
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.