Created
March 17, 2009 16:10
-
-
Save johannilsson/80610 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment