felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elMateo <soyelma...@gmail.com>
Subject Re: Web Service Client
Date Wed, 10 Oct 2012 15:56:46 GMT
Firstly, thanks a lot for your response.

I'm using D-OSGi singlebundle-distribution, v1.2.0 into my Apache Felix,
but I'm using Apache CXF 2.6.2 to generate the web service client from an
external WSDL file.

Is it possible that I can generate the web service client with D-OSGi
only??

Thanks

On Wed, Oct 10, 2012 at 5:48 PM, Dascalita Dragos <ddragosd@gmail.com>wrote:

> What distribution of Apache CXF did you get ?
> I'm asking b/c there are 2 as per [1] , and you would get along easier if
> you use the one OSGI dist that has all the dependencies embedded (
> single-bundle distribution). That should get you started.
>
> HTH,
> Dragos Dascalita HAut
>
> [1]- http://cxf.apache.org/dosgi-releases.html
>
>
> On Wed, Oct 10, 2012 at 4:48 PM, elMateo <soyelmateo@gmail.com> wrote:
>
> > Dear all,
> >
> > I need to develop a bundle that is a client of a web service. This web
> > service is running in an Apache Tomcat server and I have the wsdl file.
> > Also, the bundle that I'm developing has some services that export to
> other
> > bundles in my environment.
> >
> > I'm trying to develop the client with Apache CXF, but when it run, I have
> > the next error:
> >
> > "org.osgi.framework.BundleException: Uses constraint violation. Unable to
> > resolve
> >  bundle revision bundleDBConnector [587.0] because it is exposed to
> package
> > 'jav
> > ax.xml.bind.annotation' from bundle revisions
> > cxf-dosgi-ri-singlebundle-distribu
> > tion [6.0] and jaxb-all.osgi [9.0] via two dependency chains.
> >
> > Chain 1:
> >   myBundle[587.0]
> >     import:
> > (&(osgi.wiring.package=javax.xml.bind.annotation)(version>=2.1.0)(!(
> > version>=3.0.0)))
> >      |
> >     export: osgi.wiring.package=javax.xml.bind.annotation
> >   cxf-dosgi-ri-singlebundle-distribution [6.0]
> >
> > Chain 2:
> >   myBundle [587.0]
> >     import:
> > (&(osgi.wiring.package=javax.xml.bind)(version>=2.1.0)(!(version>=3.
> > 0.0)))
> >      |
> >     export: osgi.wiring.package=javax.xml.bind;
> > uses:=javax.xml.bind.annotation
> >     export: osgi.wiring.package=javax.xml.bind.annotation
> >   jaxb-all.osgi [9.0]
> > g!
> > "
> >
> > where myBundle is the bundle that I'm developing.
> >
> > Could anybody help me? I'm not sure about what tools I need to use to
> > develop a web service client into Apache Felix.
> >
> > Thanks in advance.
> >
> > Jesus.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message