[ https://issues.apache.org/jira/browse/DOSGI-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502370#comment-15502370 ]
Panu Hämäläinen commented on DOSGI-159: --------------------------------------- So HttpServiceManager has nothing to do e.g. with the org.osgi.service.http.port property, you just need to ensure that its config property httpBase specifies the same port. I am not sure when cxfServletAlias steps in. It is omitted if the service specifies the org.apache.cxf.ws.httpservice.context property? This bug seems to be related to DOSGI-225. > Endpoint description contains wrong org.apache.cxf.ws.address when using > HTTPService style > ------------------------------------------------------------------------------------------ > > Key: DOSGI-159 > URL: https://issues.apache.org/jira/browse/DOSGI-159 > Project: CXF Distributed OSGi > Issue Type: Bug > Reporter: Christoph Läubrich > Assignee: Christian Schneider > Priority: Critical > Fix For: 2.0.0 > > > A Service is exported with the following properties: > {code:xml}<property name="service.exported.interfaces" value="*" /> > <property name="service.exported.configs" value="org.apache.cxf.ws" /> > <property name="org.apache.cxf.ws.httpservice.context" value="/ws/user" > />{code}This results in the following EndpointDescription:{code}*** > EndpointDescription: **** > component.id => 0 > component.name => test.simpleprovider > endpoint.framework.uuid => 103e59c3-876f-0012-1569-9d4713edced0 > endpoint.id => http://<ipofsystem>:8181/ws/user/<package>/UserRepository > endpoint.package.version.<package> => 1.0.0 > endpoint.service.id => 37 > objectClass => [<package>.UserRepository] > org.apache.cxf.ws.address => > http://<ipofsystem>:8181/ws/user/<package>/UserRepository > org.apache.cxf.ws.httpservice.context => /ws/user > service.imported => true > service.imported.configs => [org.apache.cxf.ws] > service.intents => [SOAP.1_1, HTTP, SOAP]{code}the problem here is: The > HTTPService is not running on 8181 but on a different port configured via > org.osgi.service.http.port and thus the comunication fails. It seems as if > here a default port is assumed. > It should atleast honor the org.osgi.service.http.port property, or we need > some other kind of way to tell it to CXF. > HTTPService used is the org.ops4j.pax.web.pax-web-jetty-bundle (2.1.0) -- This message was sent by Atlassian JIRA (v6.3.4#6332)