Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SOAP web services in Haskell? [closed]

I have to write a bunch of small web services. They must be defined by a WSDL and work via SOAP-RPC, in order to work with an existing workflow engine and service registry framework. I can, however, serve them on a service stack/platform of my choice.

I'm presently writing them in Java, and it's not too bad. But I'm thinking my life might be easier if I was able to write these services in Haskell. Searching on Google, it looks like, once upon a time, someone else had the same idea and started a project called "HAIFA". However, it looks like HAIFA hasn't been maintained for some years, and I couldn't find any other frameworks supporting serving up services written in Haskell as SOAP web services.

Does anyone know of any other frameworks that will allow me to easily write SOAP-based web services using Haskell?

If not, has anyone done this manually (i.e., use XML libraries from hackage to process the incoming soap-rpc requests, and create soap-rpc compliant replies)? Was it difficult to do? Any gotchas? Was it worth the effort?

like image 330
Dave Avatar asked Oct 15 '12 21:10

Dave


1 Answers

Since HAIFA is dead now there are no equivalent frameworks for SOAP web services in Haskell now. So I would advise you to use some bunch of frameworks. May be Yesod + shoap will be suitable. I think such a tendency in domain of SOAP WS frameworks in Haskell because of smooth transition to REST/JSON technologies. Also may be these two articles will be useful for you http://www.cin.ufpe.br/~haskell/hwsproxygen/files/HWSProxyGen.pdf and http://www.jofcis.com/publishedpapers/2010_6_9_2859_2867.pdf

like image 81
Oleksandr Karaberov Avatar answered Sep 25 '22 02:09

Oleksandr Karaberov