cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DOSGI-159) Endpoint description contains wrong org.apache.cxf.ws.address when using HTTPService style
Date Wed, 14 Sep 2016 09:53:20 GMT

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

Christian Schneider resolved DOSGI-159.
---------------------------------------
       Resolution: Fixed
         Assignee: Christian Schneider
    Fix Version/s: 2.0.0

You need to setup the prefix it should add to the address. See
https://github.com/apache/cxf-dosgi/tree/master/common


> 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)

Mime
View raw message