groovy.lang.MetaClass is an interface, and JAXB can’t handle interfaces
Nope. Sure can’t. And that sucks. But how do I get my Grails domain objects to pass over web services.
I’m SOOOO happy I finally figured this out. It made our web services almost unreadable and unusable.
Anyway, if you are struggling with [...]
Archive for July, 2009
Grails Domain Objects Over Webservices
Protecting Webservices with Acegi in Grails
This is a continuation of my previous post “Publishing and Consuming Webservices with Grails“.
Lets suppose you already have experience in your favorite Authentication provider and want to ensure that your webservices use the same users and authentication engine. For my purposes, Acegi (Spring Security) is that engine. I’m going to assume we’ll start from where [...]
Publishing and Consuming Webservices with Grails
We’ve been working on a middle layer application that needs to translate a generic API to a proprietary API which uses our business logic to drive our local hardware. The hardest part has been developing the webservices on an MVC framework. Grails isn’t designed to natively consume or publish web services, but of course, there [...]