• Download Gist
patch that does not work for Zend_Soap_Wsdl
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Index: Zend/Soap/Wsdl.php
===================================================================
--- Zend/Soap/Wsdl.php (revision 14349)
+++ Zend/Soap/Wsdl.php (working copy)
@@ -182,12 +182,14 @@
$message = $this->_dom->createElement('message');
$message->setAttribute('name', $name);
+ $messageName = $name;
if (sizeof($parts) > 0) {
foreach ($parts as $name => $type) {
$part = $this->_dom->createElement('part');
$part->setAttribute('name', $name);
- $part->setAttribute('type', $type);
+ //$part->setAttribute('type', $type);
+ $part->setAttribute('element', 'tns:' . $messageName);
$message->appendChild($part);
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.