-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map into Map as params? #82
Comments
@HaNdlezz Hi. Nested maps should work. what error do you get? I checked with a test WSDL file: params = params = %{example: %{key: "key_data", key2: %{key3: "key3_data"}}}
Soap.call(wsdl, "getRates", params) result: <?xml version=\"1.0\" encoding=\"UTF-8\"?>
<env:Envelope xmlns:=\"http://schemas.xmlsoap.org/wsdl/\"
xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">
<env:Header/>
<env:Body>
<getRates xmlns=\"http://fedex.com/ws/rate/v26\">
<example>
<key>key_data</key>
<key2>
<key3>key3_data</key3>
</key2>
</example>
</getRates>
</env:Body>
</env:Envelope> |
Hi, thanks for you answer. I have this file: http://serviciosdls.starken.cl/TrackingCarga/TrackingCargaServiceWS?WSDL, Whit this modification in the file, Soap.init_model(file_path, :file), recognize the operation "detalleTrackingCarga", so, i run: Here the operations availables: Ty for your answers my friend, |
I've got the same issue. Looks like it tries to It crashes on UPD: |
Hi,
the params in the call, are defined in the documentation as: %{key: value},
if i need define map into map,is accepted as valid params?
i try, but i get a error
example:%{key: value, key2: %{key3: value}}
The text was updated successfully, but these errors were encountered: