Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haskell: which SOAP client lib to use?

Tags:

soap

haskell

I'd like to write s simple Haskell program that connects to a SOAP service. Ideally I'd like to use the service's WSDL and get as straightforward access to the request parameters and response data as possible.

What library do I use?

So far I only found HAIFA but it seems to have stopped developing around 2006, so I'm not sure if it's the right choice.

Update 2015-08-14: As of now, a package named soap, along with protocol support packages soap-tls and soap-openssl is available on hackage and looks alive.

like image 733
9000 Avatar asked Mar 29 '12 18:03

9000


1 Answers

As @sclv says, the SOAP heyday was before Haskell was seriously used for web systems. As a result your options for fully-fledged SOAP libs are somewhat restricted.

Obviously, HAIFA was the biggest effort back in the day, but it isn't on Hackage, so you're mostly out of luck there. Looks like shoap was a bit of an attempt at getting something simple working as well.

For rolling your own, there are plenty of XML options to choose from on Hackage,

  • HaXML,
  • haxr
  • fancy "conduit"-style xml parsing
like image 175
Don Stewart Avatar answered Sep 20 '22 12:09

Don Stewart