i am trying to use the ksoap2 with .NET web service.
it was to get to it but i am in a situation that i am getting a response that the server cannot read the soap header
"Server did not recognize the value of HTTP Header SOAPAction:"
checking the HttpTransport request shows that the soap message looks like the following:
i believe that the error message that refer to the empty header tag i have in the soap request but i cannot find the way to change it, the code that creates the soap message and the call is as follow:
SoapObject rpc = new SoapObject (NAMESPACE, METHOD);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet = true;
envelope.bodyOut = rpc;
i am using the HttpTransportBasicAuth class instead of the normal HttpTransport because my web service is secure.
i was wondering, when i pass the username and password in this class for authentication, where will they be placed? are they included in the SOAP header? if so, how can i verify its contents?