tienhoanho / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

Remove header tag from request #216

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Expected Output (With no header tag)

<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:Body>
      <logon id="o0" c:root="1" xmlns="http://tempuri.org/type">
         <n0:username i:type="d:string" xmlns:n0="http://tempuri.org/type">admin</n0:username>
         <n1:password i:type="d:string" xmlns:n1="http://tempuri.org/type">admin</n1:password>
      </logon>
   </v:Body>
</v:Envelope>

Actual Output

<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/>

   <v:Body>
      <logon id="o0" c:root="1" xmlns="http://tempuri.org/type">
         <n0:username i:type="d:string" xmlns:n0="http://tempuri.org/type">admin</n0:username>
         <n1:password i:type="d:string" xmlns:n1="http://tempuri.org/type">admin</n1:password>
      </logon>
   </v:Body>
</v:Envelope>

What version of the product are you using? On what operating system?
ksoap2-android-assembly-3.4.0-jar-with-dependencies.jar on Android Platform

Please provide any additional information below.

How to remove <v:header/> tag

Original issue reported on code.google.com by rishpar...@gmail.com on 23 Jul 2015 at 10:38

GoogleCodeExporter commented 8 years ago
The project is migrating to github. If you believe this issue is still valid 
and should be tracked please file a new issue at 
https://github.com/simpligility/ksoap2-android/issues

Original comment by mosa...@gmail.com on 7 Aug 2015 at 5:35