Try only the ws address property. See https://github.com/cschneider/Karaf-Tutorial/blob/master/tasklist-ds/service/src/main/java/net/lr/tasklist/service/TaskServiceRest.java It is org.apache.cxf.rs.address for rest and org.apache.cxf.ws.address for SOAP.
Christian 2016-01-06 9:39 GMT+01:00 Setya <[email protected]>: > Hi Christian, > > I've tried the same with Apache Karaf 4.0.3, the problem is exactly the > same. It seems that org.apache.cxf.ws.httpservice.context flag is ignored, > but it registered the service successfully: > > Below is from the log: > > /2016-01-06 12:07:50,603 | INFO | pool-39-thread-1 | > RemoteServiceAdminCore > | 53 - cxf-dosgi-ri-dsw-cxf - 1.8.0.SNAPSHOT | created server for interface > com.phincon.service.CXFService > 2016-01-06 12:07:50,607 | INFO | pool-39-thread-1 | TopologyManagerExport > | 55 - cxf-dosgi-ri-topology-manager - 1.8.0.SNAPSHOT | TopologyManager: > export succeeded for > > {com.phincon.service.CXFService}={org.apache.cxf.ws.httpservice.context=/cxfservice, > service.exported.configs=org.apache.cxf.ws, service.exported.interfaces=*, > service.id=176, service.bundleid=121, service.scope=singleton}, endpoint > 2016-01-06 12:07:50,607 | INFO | pool-39-thread-1 | TopologyManagerExport > | 55 - cxf-dosgi-ri-topology-manager - 1.8.0.SNAPSHOT | TopologyManager: > export successful for > > {com.phincon.service.CXFService}={org.apache.cxf.ws.httpservice.context=/cxfservice, > service.exported.configs=org.apache.cxf.ws, service.exported.interfaces=*, > service.id=176, service.bundleid=121, service.scope=singleton}, endpoints: > [{endpoint.framework.uuid=609d561c-2bb4-0015-1f66-86e3c458cd40, > endpoint.id=http://localhost:9000/com/phincon/service/CXFService, > endpoint.package.version.com.phincon.service=0.0.0, endpoint.service.id > =176, > objectClass=[com.phincon.service.CXFService], > org.apache.cxf.ws.address= > http://localhost:9000/com/phincon/service/CXFService, > org.apache.cxf.ws.httpservice.context=/cxfservice, service.bundleid=121, > service.imported=true, service.imported.configs=[org.apache.cxf.ws], > service.intents=[SOAP.1_1, HTTP, SOAP], service.scope=singleton}] > / > I refer to this DOSGI Reference > <https://cxf.apache.org/distributed-osgi-reference.html> to set up the > configuration. > > Thanks & Regards, > Setya > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Deploy-CXF-DOSGI-WS-based-apps-to-Eclipse-Virgo-tp5763771p5764410.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de> Open Source Architect http://www.talend.com <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>
