Soap.Request.Headers (Soap v1.1.1) View Source

Headers generator by soap action and custom headers.

Examples

iex> {:ok, wsdl} = Fixtures.get_file_path("wsdl/SendService.wsdl") |> Soap.init_model(:file)
...> Soap.Request.Headers.build(wsdl, "SendMessage", [])
[{"SOAPAction", "com.esendex.ems.soapinterface/SendMessage"}, {"Content-Type", "text/xml;charset=utf-8"}]

Link to this section Summary

Link to this section Functions

Link to this function

build(wsdl, operation, custom_headers)

View Source

Specs

build(map(), String.t(), list()) :: list()