Skip to content

Remove header tag from request #216

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions