This is probably a silly question but I"m trying to send a soap
request to our server using ksoap2 on android and I'm coming across a
bump. My outgoing request looks like the following:
<v:Envelope xmlns:i="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:d="
http://www.w3.org/2001/XMLSchema" xmlns:c="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:v="http://
schemas.xmlsoap.org/soap/envelope/">
<v:Header>
<n0:BasicAuth xmlns:n0="
http://serveraddress">
<n0:Name>user</n0:Name>
<n0:Password>user</n0:Password>
</n0:BasicAuth>
</v:Header>
<v:Body>
<n1:Listinfo id="o0" c:root="1" xmlns:n1="
http://serveraddress">
<creatorId i:type="d:string">admin</creatorId>
</n1:Listinfo>
< /v:Body>
</v:Envelope>
The problem that I'm coming across is that the server that I'm
requesting this from does not recognize/accept the "v:" element in the
tags. If I test with soapui and switch out "v:" with "soapenv:" the
request gets accepted and I get a proper return. I'm wondering if
there is a way to change that value or do I need to write the request
manually in the code?
Thank you
Salem