[Haskell-cafe] implement SOAP-based standard

20 views
Skip to first unread message

Olaf Klinke

unread,
Sep 16, 2016, 10:44:06 AM9/16/16
to haskel...@haskell.org
Dear Haskellers,

I am considering implementing the OPC XML DA standard [1] in Haskell. OPC XML DA
is based on SOAP and is used for communicating with servers controlling hardware
such as power plants. Currently the only open implementation known to me is
PyOPC [2], which is based on an outdated Python libraries. However, Python seems
not the nicest language for writing code that is devoid of bugs showing at
runtime only. The OPC XML DA standard comes with a WSDL document (600 lines).
There is a wsdl package on hackage, but it is incomplete.
Can anyone share experience in implementing a webservice specified as WSDL?
Actually, the client side would be enough for my purposes. That is, compose
well-formed messages and parse the responses.

Thanks,
Olaf

[1]
https://opcfoundation.org/developer-tools/specifications-classic/xml-data-access/
[2] https://libraries.io/pypi/PyOPC
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.

Yitzchak Gale

unread,
Sep 18, 2016, 9:08:18 AM9/18/16
to Olaf Klinke, Haskell Cafe mailing list
When we come across a SOAP-based service we must provide or use, our
approach is to use a REST-based wrapper. So far we have always been
able to find existing solutions. For example, for SAML, there are
services that already provide a REST-base wrapper for SAML-based
identity providers, such as StormPath, Ping, and Shibboleth.

If we didn't find an existing solution for some SOAP service, we would
probably write our own REST wrapper in C# or Java and use that.

Hope this helps,
Yitz

Reply all
Reply to author
Forward
0 new messages