« Speaking @ the Manchester Spring User Group, Monday 15th June | Main | Building conventions using Grails plugins, video now available »

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

Posted on Monday, April 20, 2009 at 07:44PM by Registered CommenterRuss Miles | Comments2 Comments

Reader Comments (2)

Russ, just tried out the plugin. The simplicity of creating and consuming a web service is awesome. I like this approach better than the other Grails WS plugins.
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!
May 12, 2009 | Unregistered Commenterpratik patel
Russ,

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
July 27, 2009 | Unregistered CommenterHerbert Lin

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.