Anyone ever had to consume WSDLs from Elixir?

Remember - there is always the Erlang escape hatch.

github.com/bet365/soap (Erlang)
github.com/devinus/detergent (Erlang)
github.com/r-icarus/detergentex (Elixir)

SOAP in Elixir with soap

That being said I’d cross my fingers anytime you consume a code-first WSDL[1].

[1] A contract-first WSDL is designed in “XML-space”, i.e. all the documents that are part of the client-server conversation are designed independently of the server implementation details. Code-first (contract-last) WSDL is generated from the server code - typically dumping an object-model into any number of XML-documents; this transformation has the tendency to leak details of the server’s implementation (language) into the contract that can make some clients choke (Contract-to-Implementation, Contract-To-Logic coupling).

10 Likes