-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
When I try to use any actions from my WSDL file the namespace is missing from the request, thus resulting in an invalid request.
It should look like this:
<env:Body>
<login xmlns:ns1="http://www.abacus.ch/abaconnect/2007.10/core/AbaConnectTypes">
<ns1:UserLogin>
<ns1:Mandant>1</ns1:Mandant>
<ns1:Password>pass</ns1:Password>
<ns1:UserName>user</ns1:UserName>
</ns1:UserLogin>
</login>
</env:Body>But what I currently get is:
<env:Body>
<login>
<UserLogin>
<Mandant>1</Mandant>
<Password>pass</Password>
<UserName>user</UserName>
</UserLogin>
</login>
</env:Body>This is my code:
{:ok, wsdl} = Soap.init_model("wsdl/Customer.wsdl", :file)
params = %{
UserLogin: %{
Mandant: "1",
Password: "pass",
UserName: "user"
}
}
{:ok, response} = Soap.call(wsdl, "login", params)Is this a problem with my wsdl or is it not being added by the lib?
Here is my wsdl and the xsds
wsdl.zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels