[
https://issues.apache.org/jira/browse/DOSGI-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider closed DOSGI-126.
-------------------------------------
> Allow to use the servlet transport with automatic discovery
> -----------------------------------------------------------
>
> Key: DOSGI-126
> URL: https://issues.apache.org/jira/browse/DOSGI-126
> Project: CXF Distributed OSGi
> Issue Type: Improvement
> Components: Discovery
> Affects Versions: 1.3.1
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 1.4.0
>
>
> Currently you can use org.apache.cxf.ws.address = /MyService already.
> This specifies that you want to use the servlet transport.
> The complete uri would then be : http://servername:port/cxf/MyService
> Where "cxf" is symbolic for where the servlet transport registers itself.
> The problem is that we send the /MyService address to zookeeper which results
> in a strange entry with -1 as port. Of course this address is then quite
> useless for other containers.
> So I think what we could do is define a variable in the config admin pid
> cxf-dsw:
> servletPrefix: http://myserver:8080/cxf
> This could then be prepended to any servlet address we find. So zookeeper
> will be happy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira