[BangPypers] [ Help ] extracting SOAP version from server
supreet.sethi at gmail.com
Mon Mar 31 04:02:34 CEST 2008
On Mon, Mar 17, 2008 at 6:37 PM, Senthil <skksundar at yahoo.co.in> wrote:
> Hi ,
> i am using SOAPpy package for some client side work.
> I would like to knew the method exists, if any for extracting the versioin
> of SOAP from the server using python or the SOAPpy package.
I don't know directly in SOAPpy how this could be accomplished. But
functions in httplib [ http://docs.python.org/lib/module-httplib.html
] which is used by SOAPpy could be overridden to find server version.
A simple way is to check for Content-Type header during the
SOAP 1.1 uses text/xml
SOAP 1.2 uses application/soap
> Thanks in advnce,
> Senthilkumaran Sundaramurthi.
More information about the BangPypers