PEAR::SOAP Disco patch for Doc/Lit WSDL

From: Date: Thu, 31 Jul 2003 09:25:23 +0000
Subject: PEAR::SOAP Disco patch for Doc/Lit WSDL
Groups: php.soap 
Request: Send a blank email to php-soap+get-898@lists.php.net to get a copy of this message
I found a bug (or perhaps an un-implemnted feature) in Disco.php, in PEAR::SOAP 0.7.5. Disco's WSDL generation does not honor the server's options. If you create a server with: $server = new SOAP_Server (array('style'=>'document','use'=>'literal'); Then use Disco to create the WSDL for the server (assuming the server's __typedef's and __dispatch_map's are set propperly), the bindings still show style as 'rpc' and use as 'encoded'. I believe I have fixed this while staying within the WSDL specs. My patch is attached.

« previous php.soap (#898) next »