Hi, The same for me here: ....SEVERE: No RemoteServiceAdmin available! Unable to export service from bundle.... I have tried CXF 1.3 multibundle and CXF 1.3 multibundle SNAPSHOT. And the services doesnt start. By using single bundle distribution (version 1.3 and 1.4 SNAPSHOT) I can start the services but only by using CXF 'simple' frontend. When I use CXF 'JAX-WS' frontend I face the problem described in the attached e-mail.
Best Regards, Nikos Kefalakis -----Original Message----- From: Sergey Beryozkin [mailto:[email protected]] Sent: Monday, March 12, 2012 5:28 PM To: [email protected] Subject: Re: Service export problem in CXF DOSGI 1.3 Hi On 12/03/12 15:19, Vásáry Dániel wrote: > Hi, > > I'm using CXF DOSGI for years. Now, I would like to switch from > cxf-dosgi-ri-singlebundle-distribution 1.2 to version 1.3. > After replacing cxf bundle to new version, my project can't export > webservice. > I think David fixed this issue for the single bundle distro, to do with it not exporting/importing the embedded osgi enterprise packages. Please try the multi-bundle distro in meantime... Sergey > Console output is: > > márc. 12, 2012 4:08:09 DU > org.apache.cxf.dosgi.topologymanager.TopologyManagerImport<init> > WARNING: No RemoteServiceAdmin service available! > márc. 12, 2012 4:08:09 DU > org.apache.cxf.dosgi.topologymanager.TopologyManager$2 run > SEVERE: No RemoteServiceAdmin available! Unable to export service from > bundle ..., interfaces: [Ljava.lang.String;@1741f1b > > > Webservice registration properties are: > > props.put("service.exported.interfaces", "*"); > props.put("service.exported.configs", "org.apache.cxf.ws"); > props.put("org.apache.cxf.ws.httpservice.context", "/demo"); > props.put("org.apache.cxf.ws.frontend", "jaxws"); > > > Can somebody help me, how to solve this problem? > > Thanks, > Daniel > -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/ Blog: http://sberyozkin.blogspot.com
--- Begin Message ---Hi, I would like to initialize a web service by using the JAX-WS frontend. I am using the CXF (single bundle distribution) Version 1.3 (it worths to mention that I had never successfully managed to make the multi bundle distribution to work) with Apache Felix. "javax.jws.*" and "javax.xml.bind.annotation.*" has been imported into the interface (ALEServicePortType) which has been generated from a WSDL by using CXF 2.2.9 (wsdl2java). I am using the following code at the Activator: public void start(BundleContext bundleContext) throws Exception { // ===================Initialize Service using CXF JAX-WS frontend =========== Dictionary<String, String> dictionaryProps = new Hashtable<String, String>(); dictionaryProps.put("service.exported.interfaces", "*"); dictionaryProps.put("service.exported.configs", "org.apache.cxf.ws"); dictionaryProps.put("org.apache.cxf.ws.address ", "http://localhost:9090/ALEService" ); dictionaryProps.put("org.apache.cxf.ws.frontend","jaxws"); dictionaryProps.put("org.apache.cxf.ws.databinding","jaxb"); ServiceRegistration = bundleContext.registerService(ALEServicePortType.class.getName(), new ALEServicePortTypeImpl(), dictionaryProps); } Although I have successfully managed to make the service run by using the CXF 'simple' frontend by only using : dictionaryProps.put("service.exported.interfaces", "*"); dictionaryProps.put("service.exported.configs", "org.apache.cxf.ws"); dictionaryProps.put("org.apache.cxf.ws.address", aleLrServiceURL); ServiceRegistration = bundleContext.registerService(ALEServicePortType.class.getName(), new ALEServicePortTypeImpl(), dictionaryProps); Where I get the complete WSDL by using the "http://localhost:9090/ALEService?wsdl" in a browser I am not able to make it work by using the jaxws frontend where I get the following: <?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions name="ALEServicePortTypeService" targetNamespace="http://ale.wsdl.ale.commons.aspirerfid.ow2.org/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ale.wsdl.ale.commons.aspirerfid.ow2.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:portType name="ALEServicePortType" /> - <wsdl:binding name="ALEServicePortTypeServiceSoapBinding" type="tns:ALEServicePortType"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> </wsdl:binding> - <wsdl:service name="ALEServicePortTypeService"> - <wsdl:port binding="tns:ALEServicePortTypeServiceSoapBinding" name="ALEServicePortTypePort"> <soap:address location="http://localhost:9090/ALEService" /> </wsdl:port> </wsdl:service> </wsdl:definitions> Where the service name is "ALEServicePortTypeService" instead of "ALEServicePortType" Could anyone help me with this? Thank you in advance! Best Regards, Nikos Kefalakis.
--- End Message ---
