Hi Ronald as a side note, if annotations are ignored by say CXF JAXWS or JAXRS runtime then it means that are simply not visible, which is an OSGI-level issue;
But if you;re talking about a @wsdlLocation annotation then perhaps indeed you'd be better off with updating a WSDL handler in CXF DSW for it to support a DOSGI 'wsdl' configuration type ... cheers, Sergey On Tue, Oct 12, 2010 at 7:49 AM, David Bosschaert < [email protected]> wrote: > Hi Ronald, > > I am not aware this is possible yet with the current CXF-DOSGi > codebase. If you are interested in making this possible feel free to > take a look at the code an provide patches :) > > Just a note on annotations... One point of Distributing OSGi services > was to not have the configuration as part of the service code. In > DOSGi services are configured via their configuration type and through > intents. So I would suggest looking in that area instead of > annotations if you want to enhance the current configuration > possibilities. > > Best regards, > > David > > On 11 October 2010 17:51, Ronald Müller <[email protected]> > wrote: > > Hi, > > > > i have a given WSDL-file an wanted to create a WS from it. so far so > > good. I used wsdl2java-tool to create the java-stubs and want to publish > > with CXF-DOSGi. Everything went fine, except it created the wrong > > service-name and target-namespace. I figured out, that annotations are > > completly ignored. The service-name is derived from > > service-interface-classname and the target-namespace from the > package-name. > > > > If the annotations doesn't work is there any other way to configure the > > such things. and why thew annotations doesn't work in DOSGi ? > > > > I found an older post on this topic, but unfortunately without replies: > > > > > http://cxf.547215.n5.nabble.com/DOSGi-Jaxws-configuration-td547806.html#a547806 > > > > > > thanks in advance > > > > ronald > > > > > > > > > > -- > > Mit freundlichen Grüßen > > > > Dipl.-Ing. Ronald Müller > > > > M-UniComp Verkehrssysteme GmbH > > Plauener Straße 163-165, Haus L > > D-13053 Berlin > > > > Fon: +49 (0) 30 / 9831 70070 > > Fax: +49 (0) 30 / 9831 70077 > > > > Internet: www.unicomp-berlin.de > > > > Firma: M-UniComp Verkehrssysteme GmbH > > Geschaeftsfuehrer: Andreas Dreher > > Sitz der Gesellschaft: Berlin > > Registergericht: Berlin Amtsgericht Charlottenburg, HRB 35329 > > >
