Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johannilsson/80610 to your computer and use it in GitHub Desktop.
Save johannilsson/80610 to your computer and use it in GitHub Desktop.
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