The regular requests for a web-service are fine but the common
tutorials are quite far from the real life.
What exactly I would like to know is how to add the namespace (eb:
wsse:  etc) into the request by ksoap2?

What the right approach for creating the web-service's request like
that:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader";
xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsd="http://
www.w3.org/1999/XMLSchema">
   <SOAP-ENV:Header>
      <eb:MessageHeader eb:version="1.0">
         <eb:ConversationId>TEST</eb:ConversationId>
         <eb:From>
            <eb:PartyId>TEST</eb:PartyId>
         </eb:From>
         <eb:To>
            <eb:PartyId>Gateway</eb:PartyId>
         </eb:To>
         <eb:Service eb:type="OTA">SessionCreateRQ</eb:Service>
         <eb:Action>SessionCreateRQ</eb:Action>
      </eb:MessageHeader>
      <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/
secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/12/utility";>
         <wsse:UsernameToken>
            <wsse:Username>HostUsername</wsse:Username>
            <wsse:Password>HostPassword</wsse:Password>
            <Organization>Host</Organization>
            <Domain>DOMAIN</Domain>
         </wsse:UsernameToken>
      </wsse:Security>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body/>
</SOAP-ENV:Envelope>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to