This content has been marked as final.
Show 2 replies
-
1. Re: Best Practices: JAX-WS Web-Services, Camel, Spring and OSGi ?
davestanley Nov 30, 2009 10:36 AM (in response to larsroediger)Hi Lars,
So jaxws:endpoint is a standard cxf endpoint, cxf:cxfEndpoint is a camel enabled cxf endpoint. It implements camels DefaultEndpoint so it can fully participate in camel routes.
can both use WS-Addressing and further WS-extensions? ..
I think it should be possible with cxf:cxfEndpoint. I haven't tried it but I think something like this should work:
<cxf:cxfEndpoint id="serviceEndpoint" address="http://localhost:9000/SoapContext/SoapPort" wsdlURL="testutils/hello_world.wsdl" serviceClass="org.apache.hello_world_soap_http.Greeter" endpointName="s:SoapPort" serviceName="s:SOAPService" xmlns:s="http://apache.org/hello_world_soap_http"> <cxf:features> <wsa:addressing></wsa:addressing> </cxf:features> </cxf:cxfEndpoint>
In terms of the best approach, its probably easiest to do the whole thing in a camel route .. assuming the wsa stuff above works.
Hope this helps,
/Dave
Edited by: dstanley on Nov 30, 2009 3:36 PM
-
2. Re: Best Practices: JAX-WS Web-Services, Camel, Spring and OSGi ?
larsroediger Nov 30, 2009 10:41 AM (in response to davestanley)Thank you Dave. I will give it a try.