Hi,

Looks like your OSGi container didn’t install the required cxf-rt-bindings-soap 
bundle.

If the OSGi container you used is Karaf based you can easily install the 
pre-defined cxf feature which install all necessary bundles for you.
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat



> On Jun 3, 2016, at 2:57 PM, Massimo Redaelli <[email protected]> wrote:
> 
> Hello!
> 
> I'm writing an OSGi (Felix) plugin for an existing software. This software is 
> in turn deployed in JBoss 6. No Spring is involved.
> So (Java 8) -> Jboss -> App -> Felix -> me.
> 
> The plugin has to call SOAP webservices, and I implemented it easily with 
> CXF's wsdl2java (JAXB bindings). Running it as a standalone app works 
> perfectly, needing nothing more than the jre itself.
> 
> When I run it inside the application, I get this:
> 
>      javax.xml.ws.WebServiceException: 
> org.apache.cxf.service.factory.ServiceConstructionException
>       Caused by: null
>       Caused by: No binding factory for namespace 
> http://schemas.xmlsoap.org/wsdl/soap/ registered.
> 
> (Unfortunately I don't get the whole stacktrace :/ )
> 
> I assume it has something to do with OSGi witchcraft, so I tried importing 
> several packages, to no avail.
> I even tried putting the ugly 
> 
>      DynamicImport-Package: *
> 
> In the MANIFEST, but still no luck.
> 
> Any hint would be great :)
> 
> Thanks.
> 
> M.

Reply via email to