Hi Oli,

Is absolute address in EP not appropriate solution for you in this case?

Regards,
Andrei.

> -----Original Message-----
> From: Oliver Wulff [mailto:[email protected]]
> Sent: Montag, 19. Dezember 2016 23:08
> To: [email protected]
> Subject: Bind jaxws:endpoint to specific network interface/port in Karaf
> 
> Hi there
> 
> We have the use case that CXF services are deployed into a Karaf instance.
> Some services must be bound to localhost only and others must be publicly
> available (0.0.0.0). I've configured more than one connector in Karaf. Is 
> there
> an option to bind a jaxws:endpoint in the spring configuration to a specific
> network interface?
> 
> 
> <jaxws:endpoint id="greeterService" implementor="#greeterService"
> wsdlLocation="wsdl/Greeter.wsdl"
> xmlns:ns="..."
> endpointName="ns:..." serviceName="ns:..."
> address="/greeterService">
> 
> Of course, I could write an custom interceptor or policy to enforce it but 
> bind it
> to a specific connector would be easier.
> 
> Thanks
> Oli

Reply via email to