Hi Kits,

If you're using the built-in Jetty from CXF (which is the default) you
simply put the port you want in the org.apache.cxf.ws.address
property, e.g. for port 9876 you do
  props.put("org.apache.cxf.ws.address", "http://localhost:9876/greeter";)

If you're using the OSGi Http Service instead (by setting the
org.apache.cxf.ws.httpservice.context property), this is configured
separately dependending on the Http Service implementation. In most
cases you can configure it through the 'org.osgi.service.http.port'
property.

Hope this helps,

David

2009/12/1 Edwin Quita <[email protected]>:
> hello codesmiths,
>
> i'm using the multiple bundle distribution of DOSGi, just want to know
> how do i change the http port for the endpoint in the samples included
> in the distribution.
>
> thanks,
> kits
>

Reply via email to