It doesn't help. It still uses the default endpoint. I even started over from scratch and followed 1:1 the steps described online for setting up eclipse (literally copying the interface and service class). No jaxws, no jaxb, just the defaults...
The "org.apache.cxf.ws.address" property doesn't seem to have any effect. Any other information that I can provide you with? It's eclipse 3.5 with some additional features like Birt, GEF, ... no fancy things (which shouldn't matter anyway since I removed all from the run configuration, except for the required plugins) + the bundles from cxf-dosgi-ri-multibundle- distribution-1.0.tar.gz Thanks for your help! Bernd On Wednesday, 2. December 2009, Sergey Beryozkin wrote: > Hi > > we chatted a bit with David about it, perhaps the fact that you're using a > jaxws frontend is what affecting it ? It should not actually, but please > try just remove this property and see what happens... > > > I have to admit that I can't get it to work that way. I'm using eclipse > > and followed the instructions listed on > > http://cxf.apache.org/setting-up-eclipse-for-running-and-debugging-distri > >buted-osgi.html. My plugin activator writes in its start method: > > props.put("osgi.remote.interfaces", "*"); > > props.put("service.exported.configs", "org.apache.cxf.ws"); > > props.put("org.apache.cxf.ws.address", > > "http://localhost:9090/someotherurl"); > > props.put("org.apache.cxf.ws.frontend", "jaxws"); > > > > But once I start the OSGi Framework it publishes the services at > > http://localhost:9000/org/knime/dosgi/test/TemperatureService?wsdl. > > > > During start-up it also complains: > > "WARNING: A JAX-WS Annotation was found on > > org.knime.dosgi.test.TemperatureService while using the Simple frontend. > > For better results, use the JAX-WS frontend." > > This is an Aegis warning, you'd probably want to use JAXWS with JAXB : > > props.put("org.apache.cxf.ws.frontend", "jaxws"); > props.put("org.apache.cxf.ws.databinding", "jaxb"); > > or just drop JAXWS altogether > > hope it helps, Sergey > > > If I then enter "osgi> status org.knime.dosgi.test_1.0.0.qualifier" into > > the OSGi console, it writes a lot of status messages, including: > > {org.knime.dosgi.test.TemperatureService}= > > {org.apache.cxf.ws.address=http://localhost:9090/someotherurl, > > org.apache.cxf.ws.frontend=jaxws, osgi.remote.interfaces=*, > > service.exported.configs=org.apache.cxf.ws, service.id=160} > > > > {org.osgi.service.discovery.ServicePublication}= > > > > {osgi.remote.endpoint.location=http://localhost:9000/org/knime/dosgi/test > >/TemperatureService, osgi.remote.discovery.publication.service.properties= > > {osgi.remote.interfaces=*, > > > > osgi.remote.endpoint.location=http://localhost:9000/org/knime/dosgi/test/ > >TemperatureService}, > > osgi.remote.service.interfaces=[org.knime.dosgi.test.TemperatureService], > > osgi.remote.endpoint.id=0e2d38c2-cb11-41c4-8374-2b0fbad884cc, > > service.id=161} > > > > So obviously my parameters are associated with the service but not > > properly picked up ServicePublication. > > > > Help?! > > > > Thanks, > > Bernd >
