Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Instead of generating an interface for a WSDL endpoint as shown in the introductory examples, we can use the dynamic interface to pass in/out any arbitrary XML blob over REST or SOAP.

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).

An error occurred: cvs.activesoap.codehaus.org. The system administrator has been notified.

Here's the same example again using a REST client

An error occurred: cvs.activesoap.codehaus.org. The system administrator has been notified.

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

  • No labels