simpligility / ksoap2-android

ksoap2-android - SOAP support for Android
http://simpligility.github.io/ksoap2-android/
Other
543 stars 247 forks source link

Bad Request #100

Closed Initiale closed 5 years ago

Initiale commented 8 years ago

when i call web service dump object contains text "Bad Request"

here is the code; `` SoapObject request = new SoapObject(NAMESPACE, prms[0].MethodName); for (PropertyInfo pi : prms[0].Params) { request.addProperty(pi.name, pi.getValue()); } SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER12); envelope.setOutputSoapObject(request); envelope.env = "http://schemas.xmlsoap.org/soap/envelope/";

        envelope.dotNet = true;
        HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);

        androidHttpTransport.setXmlVersionTag("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
        try {

            androidHttpTransport.debug = true;
            SOAP_ACTION1 += prms[0].MethodName;
            androidHttpTransport.call(SOAP_ACTION1, envelope);``
mosabua commented 5 years ago

No changes on this - closing as part of clean up.