Hi all,

I want to ping a url and post a xml to it using http delete as i want
to initiate a delete action on the server side.

But i am not able to post the xml using http delete.


HttpClient httpclient = new DefaultHttpClient();
                HttpDelete httpDel = new HttpDelete("http://my url
goes here /");
                StringEntity stringEntity = new
StringEntity(writer.toString());

                ((HttpResponse) httpDel).setEntity(stringEntity);
                HttpResponse rsp = httpclient.execute(httpDel);

Need urgent help.

Thanks in advance..

-- 
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