detergentex alternatives and similar packages
Based on the "REST and API" category.
Alternatively, view detergentex alternatives based on common mentions on social networks and blogs.
Get performance insights in less than 4 minutes
Do you think we are missing an alternative of detergentex or a related project?
README
Detergentex
An Elixir client for SOAP Services using the erlang detergent library.
Usage
1) Add detergentex and its erlang dependencies to your deps:
{:erlsom, github: "willemdj/erlsom"},
{:detergentex, "0.0.5"}
2) Add :detergentex
to the list of application dependencies in your mix.exs
.
def application do
[applications: [:logger, :detergentex]]
end
3) Call web services using Detergentex.call(wsdl, method, parameters)
:
wsdl_url = "http://www.webservicex.net/convertVolume.asmx?WSDL"
action = "ChangeVolumeUnit"
parameters = ["100","dry","centiliter"]
Detergentex.call(wsdl_url, action, parameters)
# Cache the wsdl to do recurrent calls quickly
wsdl = Detergentex.init_model(wsdl_url)
Detergentex.call(wsdl, action, parameters)
Detergentex.call(wsdl, action, parameters)
Detergentex.call(wsdl, action, parameters)
License
MIT
*Note that all licence references and agreements mentioned in the detergentex README section above
are relevant to that project's source code only.