On May 10, 10:22 am, Kushal Kumaran <kushal.kumaran+pyt...@gmail.com> wrote: > On Mon, May 10, 2010 at 7:30 PM, kak...@gmail.com <kak...@gmail.com> wrote: > > Hi to all, i want to ask you a question, concerning the best way to do > > the following as a POST request: > > There is server-servlet that accepts xml commands > > It had the following HTTP request headers: > > > Host: somehost.com > > User-Agent: Jakarta Commons-HttpClient > > Content-Type: text/xml > > Content-Length: 415 > > > and the following request body (reformatted here for clarity): > > > <?xml version='1.0'?> > > <methodCall> > > <methodName>search</methodName> > > </methodCall> > > How can i send the above to the Listener Servlet? > > Thanks in advance > > Use the xmlrpclib module. > > -- > regards, > kushal
OK, sending headers with xmlrpclib, but how do i send the XML message? Thanks A.K. -- http://mail.python.org/mailman/listinfo/python-list