Alireza-DarkMan / php-wsdl-creator

Automatically exported from code.google.com/p/php-wsdl-creator
GNU General Public License v3.0
0 stars 0 forks source link

Exception WDSL format incorrect #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
W3 validator throws: Invalid per cvc-complex-type.1.4: required attribute 
{None}:name not present
http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%3A%2F%2Fwan24.de%2Ftest%2Fph
pwsdl2%2Fdemo.php%3FWSDL&style=xsl#

PHP Soapclient throws:
Fatal error: SOAP-ERROR: Parsing WSDL: Missing name for  of 'methodName' in...

Solvable by changing line 140 of class.phpwsdlmethod.php to:
$res[]='<wsdl:fault name="'.$this->Name.'Exception" 
message="tns:'.$this->Name.'Exception" />';

Original issue reported on code.google.com by i...@joolee.nl on 9 Apr 2013 at 1:49