...
The JBI binding for JAX-WS allows a the JAX-WS API to be used to invoke a web service from a JBI message. i.e. to use In other words, the binding component uses JAX-WS to act as a web service client. The following example shows how to configure a service as a JAX-WS client.
Wiki Markup |
---|
{snippet:id=jaxws|lang=xml|url=http://svn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/components/jaxws/src/test/resources/org/servicemix/components/jaxws/jaxws-out.xml} |
All that is required really is to point at the WSDL for the service and the client is automatically generated. The above assumes the WSDL has only a single port available; if a WSDL exposes multiple ports then you need to also supply the port QName.
...
Where Are the JAX WS Components
Wiki Markup |
---|
TheFor ServiceMix 2.0.x, the source code for the ServiceMix JAX WS components can be found at: {{\[servicemix_src_install_dir\]\components\jaxws\src\main\java\org\servicemix\components\jaxws}}, where \[servicemix_src_install_dir\] is the directory in which ServiceMix is installed. |