#1 2012-03-15 15:43:17

Junior/RO
Member
Registered: 2011-05-13
Posts: 210

Replacing a SOAP webservice with mORMot

Some years ago, I have created a web service (SOAP) in Ruby on Rails 1.1. It works but I want to replace it.

But we have now many deployed Delphi 7 applications using this service. Therefore I can't change the SOAP protocol right now.

I'm thinking about write a mORMot server to accept SOAP as input and return SOAP as output. Then I will extend this service with more interface based features.

Do you think this is a viable approach? The ruby web service have only one method. Any hints?

Last edited by Junior/RO (2012-03-15 15:43:45)

Offline

#2 2012-03-15 23:10:33

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Replacing a SOAP webservice with mORMot

In its current implementation, mORMot uses JSON as transmission standard for web services.
In two flavors: a RESTful version, and a JSON-RPC optional layout.
I think you could very easily interface it with a RoR applications. Ruby natively understand all elements of this protocol: HTTP and JSON.

There is no SOAP support yet.
SOAP is verbose, and much more complex than the current implementation.
It could be added to the existing supports (the mORMot core is open to any format), I think easily, if you know about low-level SOAP format specifications.
But I've no plan to do it, since our customers do not need it.

If you have Delphi 7 applications with source code, and have all your services defined as interfaces, you could change the protocol easily and use the mORMot JSON flavor instead.
mORMot works from Delphi 6 up to XE.

Offline

Board footer

Powered by FluxBB