The below Android soap xml request/resposen is printing in Eclipse. But, In Android Studio, Response is print, Request in XML format not printing. mySample Code:
Android Ksoap Xml request
AndroidHttpTransport httpTransport = new AndroidHttpTransport(URL);
httpTransport.debug = true;
httpTransport.call(SOAP_ACTION, envelope);
httpTransport.requestDump
httpTransport.responseDump
Thanks
In case someone else is having the same problem I fixed it with the
trim()method.Log.d("TAG ", ""+(androidHttpTransport.requestDump).trim());PD: Maybe the op wasn't calling a print method.