Ladon and kSoap2 SOAP request fail with "not optional" message.
I figured out that kSoap2 (Android) fails when making a SOAP call to Ladon.
The issue was resolved on the client side with setting implicit types on the envelope.
When these are not set, kSoap2 will make a SOAP call like this:
<v:Envelope xmlns:i="http://
<v:Header/>
<v:Body>
<n0:hello id="o0" c:root="1" xmlns:n0="urn">
<name i:type=
</n0:hello>
</v:Body>
</v:Envelope>
At that point, ladon no longer finds the 'name' parameter.
With the above settings the following XML is produced, which works fine with ladon.
<v:Envelope xmlns:i="http://
<v:Header/>
<v:Body>
<n0:hello xmlns:n0="urn">
<name i:type=
</n0:hello>
</v:Body>
</v:Envelope>
Eventhough there is a work around. I am not sure that kSoap2 is doing something out of spec.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Marcel van Eck
- Solved:
- Last query:
- Last reply: