Versions Compared

Key

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

...

So here is a dynamic web service invocation using XMLBeans as the body and result of the documents. Note that XmlObject instances could be used in this example, there's no real need to have a concrete, autogenerated schema when using this mechanism (other than performance).

Wiki Markup
{snippet:id=soapDynamicClientsoapClient|lang=java|url=http://cvs.activesoap.codehaus.org/viewrep/~raw,r=HEAD/activesoap/src/test/org/codehaus/activesoap/examples/snowboard/SnowboardTestSnowboardDynamicTest.java}

Here's the same example again using a REST client

Wiki Markup
{snippet:id=restDynamicClientrestClient|lang=java|url=http://cvs.activesoap.codehaus.org/viewrep/~raw,r=HEAD/activesoap/src/test/org/codehaus/activesoap/examples/snowboard/SnowboardTestSnowboardDynamicTest.java}

The API for the dynamic invocation API currently works with XMLBeans but should ultimately work with JAX-RPC, JAXB, Castor, XStream etc.