13.2 SOAP - Reference Documentation
Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith
Version: null
13.2 SOAP
There are several plugins that add SOAP support to Grails depending on your preferred approach. For Contract First SOAP services there is a Spring WS plugin, whilst if you want to generate a SOAP API from Grails services there are several plugins that do this including:- CXF plugin which uses the CXF SOAP stack
- Axis2 plugin which uses Axis2
- Metro plugin which uses the Metro framework (and can also be used for Contract First)
exposes static property. This example is taken from the CXF plugin:class BookService { static expose = ['cxf'] Book[] getBooks() {
Book.list() as Book[]
}
}http://127.0.0.1:8080/your_grails_app/services/book?wsdlFor more information on the CXF plugin refer to the documentation on the wiki.

