[Q] SOAP Server in Python

Eric ericgorr at gmail.com
Wed Mar 19 10:19:32 EDT 2008


What is the best, well supported, way to write a SOAP Server in
Python? Where can a good example be found?
I do have a WSDL file.

In PHP5, it is rather trivial to write a SOAP server once one has a
WSDL file. For example, a simple SOAP Server written using PHP5 might
look like:

<?PHP
class MySoapServer {
	function ASoapFunction( $inParameter )
	{
		return 1;
	}
}

$ini = ini_set( "soap.wsdl_cache_enabled", "0" );
$server = new SoapServer( "MySoapServer.wsdl" );
$server->setClass( "MySoapServer" );
$server->handle();
?>

I am basically looking to do the same thing in Python as easily.

Any help or pointers would be appreciated.

thank you.



More information about the Python-list mailing list