(Quick Reference)

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:
Hay varios plugins que agregan soporte SOAP a Grails dependiendo de su enfoque preferido. Para el primer contrato de servicios SOAP esta el plugin Spring WS, mientras que si quiere generar una API de SOAP desde servicios Grails hay varios plugins que hacen esto incluyendo:

Most of the SOAP integrations integrate with Grails services via the exposes static property. This example is taken from the CXF plugin:
La mayoria de las integraciones de SOAP son integradas con Grails services son via la propiedad estatica exposes. Este ejemplo esta tomado del plugin CXF:

class BookService {

static expose = ['cxf']

Book[] getBooks() { Book.list() as Book[] } }

The WSDL can then be accessed at the location: http://127.0.0.1:8080/your_grails_app/services/book?wsdl
El WSDL puede entonces ser accesado en la ubicacion: http://127.0.0.1:8080/your_grails_app/services/book?wsdl

For more information on the CXF plugin refer to the documentation on the wiki.
Para mas informacion del plugin CXF refierase a la documentacion en la wiki.