Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [emf-dev] exposing Ecore models via web services

Hi Ed,

Thanks for the quick response.

I have a few questions. I'd like to preface them by saying that I haven't done very much work developing Web Services before. I'm mostly a web, front-end developer, albeit on the MDA and research side (I work on modeling the Abstract Syntax of Concrete Syntax, and on modeling UI behaviour). I'm therefore fairly familiar with consuming RESTful Web Services from the browser (particularly using dojo.data API's), but I haven't needed to expose these services myself, or deal with WS-* services. So some of these questions might be a bit newbish; please bear with me.

In general, I'm concerned with finding the optimal way of exposing operations on EMF models to the browser via XMLHTTPRequest. If this has already been accomplished, and is document somewhere, then I believe this would resolve most the questions I'm about to put forward.

I see that Servus maps Ecore to WSDL 1.1 and 2.0, and generates client and server stubs in Java. Does this then marry us to SOAP? It is my understanding that SOAP services cannot, in general be consumed directly by web browser clients (I think the reason most often cited is the lack of complete XML support across browsers), and so this could be problematic.

On the other hand, you said that EMF's resource design is fully RESTful. Could you please explain this a bit more, or point me to a resource that does?

Please let me know what you think. Thanks,

Jake

On Tue, Mar 24, 2009 at 3:08 PM, Ed Merks <ed.merks@xxxxxxxxx> wrote:
Jake,

Thiago did some work on Servus: 
http://wiki.eclipse.org/Servus
EMF's resource design is fully RESTful with the addition of delete support in last release.

Martin is doing some work on http://wiki.eclipse.org/Texo as well.

And I suppose I should complete the work for https://bugs.eclipse.org/bugs/show_bug.cgi?id=245014 but there's really not been that much interest in it....

Cheers,
Ed


Jacob Beard wrote:
Does anyone know of any previous work that has been done on exposing Ecore models via web services (RESTful or otherwise)? I'm starting to investigate this as I write my proposal, and I'm wondering if there are any resources that I can draw upon.

Please let me know. Thanks,

Jake

_______________________________________________ emf-dev mailing list emf-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/emf-dev


Back to the top