Grails Spring WS plugin 0.1 released
First up, thanks for everyone's encouragement and patience. After my talk at the Spring User Group @ Skills Matter a couple of weeks ago, I promised to make the code available so that people could get into the nitty gritty details of my Spring Web Services plugin. However at the time I wasn't totally happy with what I had (copying Spring config documents on plugin install!? That's bad...) and I didn't want to just provide a code drop that never went any further so I've spent the past week and a bit refining, updating and generally polishing the code from that talk.
The good news is that the code is now available... the even better news is that it's now a fully released Grails plugin hosted in the Grails central plugin repository.
As well as the code itself, highlights include:
- adding an Endpoint artefact and associated scripts so you can create your own convention-driven, contract-first web service endpoints in one step.
- adding an artefact to create functional tests for endpoints so you can test that your endpoints work in the way you expect within the full web service stack.
- a packaged, more Groovy-like WebServiceTemplate for consuming contract-first web services.
So, to all those that made it to the talk, enjoy! For those that couldn't make it, or maybe just caught the video online, then please head on over to the plugin's new home on Grails.org and download the code.
The last thing I'd like to say is that a plugin is only as good as the community that use it. What that means is that if you've got a suggestion/feature request/bug that could take the plugin to the next level then please get in contact. I'm looking forward to seeing how this plugin evolves.
Cheers!
Russ


![Backspacer [VINYL]](http://ecx.images-amazon.com/images/I/61UFr5wq98L._SL75_.jpg)




Reader Comments (2)
Two feature suggestions:
* need to be able to do a transaction in the endpoint -OR-
* need to be able to inject a service into the endpoint
Probably just need to glue in a Spring tx manager in the doWithSpring for the first, the second would require more work ... possibly make the Endpoint groovy classes first-class Grails services would be easiest... but you're the expert!
I tried out the Grails SpringWS Plugin with Soap 1.1 binding successfully. How do you create the web services with Soap 1.2, HTTP GET and POST bindings using this plugin?
Please advise.
Herbert