When I call my web service from android then instead of giving me a response. it returns the all the text that we get when we open web service in the browser. I looked into it and got that my soap action is either not correct or it's not been properly set up in the request header. Please help me finding that out. I am trying it for weeks but no luck.
Here I set action in header
httpPost.setHeader("Authorization", base64EncodedCredentials);
httpPost.addHeader("Content-Type", "text/xml;charset=\"utf-8\";action=\""+ soapAction + "\"");
httpPost.setEntity(se);
HttpResponse response = client.execute(httpPost,localContext);
I have also tried doing in this way but no luck
httpPost.addHeader("SOAPAction",soapAction);
Here is my wsdl webervice an it is openinig fine in soap UI tool