Module c.u.c.soap_lite

Part of coherence.upnp.core View Source

SOAP-lite

some simple functions to implement the SOAP msgs needed by UPnP with ElementTree

inspired by ElementSOAP.py
Line # Kind Name Docs
40 Function build_soap_error builds an UPnP SOAP error msg
53 Function build_soap_call create a shell for a SOAP request or response element
def build_soap_error(status, description='without words'): (source)
builds an UPnP SOAP error msg
def build_soap_call(method, arguments, is_response=False, encoding=SOAP_ENCODING, envelope_attrib=None, typed=None): (source)
create a shell for a SOAP request or response element
  • set method to none to omitt the method element and add the arguments directly to the body (for an error msg)
  • arguments can be a dict or an ET.Element
API Documentation for Coherence, generated by pydoctor at 2007-12-08 21:02:38.