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

« Previous Version 2 Next »

Groovy SOAP

SOAPSOAP is a lightweight protocol intended for exchanging structured information in a decentralized, distributed environment. Groovy has a SOAP implementation based on 
Xfire which allows you to create a SOAP server and to make calls on remote SOAP servers.

The Server

This part is given for building a light demo server based on Xfire (it is not yet so Groovy (warning)).

  1. Create a Service contract (a java interface)
  2. Create an implementation of this service
  3. Register your service
  4. Start the server
  5. You're done!

The Client

It's pretty easy to make the remote calls too

  1. Import the Soap Client class
  2. Create a proxy object to represent the remote server
  3. Call the remote method via the proxy
  4. You are done
  • No labels