soap comlex data to plain xml

Chris Lambacher chris at kateandchris.net
Fri Aug 25 11:27:48 EDT 2006


You would probably get more responses on the pywebsvcs mailing list http://pywebsvcs.sf.net

SOAP goes over HTML, so you can use httplib to do what you want.  Just go look
up the protocol details (hint use Google).  You will probably want to use ZSI
or SOAPpy to serialize the request body to xml for you.

-Chris

On Fri, Aug 18, 2006 at 11:03:48AM -0700, Ig B wrote:
>    Hi all,
> 
>    would anyone give me a hint how to get SOAP data as plain XML and not as
>    complex data
> 
>    this is sample code:
> 
>      myProxy = SOAPpy.SOAPProxy(MY_SERVICE_PATH, header = my_headers)
>      query = SOAPpy.structType ()
> 
>      result = myProxy.callMyProcedure(query)
> 
>    result returned as complex data, but i need plain xml text - kind of you
>    see when
>    myProxy.config.dumpSOAPIn = 1
> 
>    thank you in advance.
> 
>    ~GB

> -- 
> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list