Hi Ronald, Your patch looks good.
Please file a jira and attach your patches to that (https://issues.apache.org/jira). This is to handle the license grant to the ASF. Also please provide a unit test for your functionality, if you can. Am I correct in assuming that this patch doesn't really apply to the REST support? Cheers, David On 14 October 2010 10:59, Ronald Müller <[email protected]> wrote: > Hi, > > my pragmatically solution for setting servicename, portname and > targetnamespace is as follows: > > * adding 3 new constants to "org.apache.cxf.dosgi.dsw.Constants" > (see Constants.diff) > - "org.apache.cxf.ws.targetnamespace" > - "org.apache.cxf.ws.servicename" > - "org.apache.cxf.ws.portname" > > * putting values for the new keys to the property-map > > // setting target-namespace > props.put("org.apache.cxf.ws.targetnamespace","http://my.namespace/goes-here"); > > > // setting servicename > props.put("org.apache.cxf.ws.servicename","MyServiceName"); > > // setting portname > props.put("org.apache.cxf.ws.portname","MyEndpointName"); > > * patching > "org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler" to take > these values into account (see PojoConfigurationTypeHandler.diff) > > I know its probably not the cleanest way, but i'm far to new to OSGi to > figure out all of its concepts. > > regards > > Ronald > > > > > > > Am 12.10.2010 08:49, schrieb David Bosschaert: >> 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 >> > > -- > 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 >
