Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
{snippet:id=jaxws|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/components/jaxws/src/test/resources/org/servicemix/components/jaxws/examplejaxws-out.xml?rev=HEAD}

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.

...

The other option is to host an actual Java and JAX-WS based web service implementation inside ServiceMix and expose it as an endpoint over one or more transport protocols.

Wiki Markup
{snippet:id=jaxws|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/components/jaxws/src/test/resources/org/servicemix/components/jaxws/jaxws-in.xml?rev=HEAD}

The service needs to be defined with JAX-WS annotations as following.TODO...

Wiki Markup
{snippet:id=jaxws|lang=java|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/components/jaxws/src/test/java/org/servicemix/components/jaxws/AddNumbersImpl.java?rev=HEAD}