You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christoph Läubrich (JIRA)" <ji...@apache.org> on 2013/02/05 12:55:12 UTC
[jira] [Created] (CXF-4809) Endpoint description contains wrong
org.apache.cxf.ws.address when using HTTPService style
Christoph Läubrich created CXF-4809:
---------------------------------------
Summary: Endpoint description contains wrong org.apache.cxf.ws.address when using HTTPService style
Key: CXF-4809
URL: https://issues.apache.org/jira/browse/CXF-4809
Project: CXF
Issue Type: Bug
Reporter: Christoph Läubrich
Priority: Critical
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 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