Soap.Request.Headers (soa v0.1.8)
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"}]
Summary
Functions
Link to this function
base_headers(soap_action)
Link to this function
build(wsdl, operation, custom_headers)
Link to this function
extract_headers(soap_action, custom_headers)
Link to this function