Reputation: 40894
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.
Upvotes: 12
Views: 2405
Reputation: 137987
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,
Upvotes: 7