summaryrefslogtreecommitdiff
path: root/framework/3rdParty/WsdlGen/WsdlMessage.php
diff options
context:
space:
mode:
authorwei <>2007-01-12 05:53:43 +0000
committerwei <>2007-01-12 05:53:43 +0000
commitf7ca8c7ac8718899c1ab36513aaf3853a4514816 (patch)
tree3eae66f3578b84bc68c489538fd832b3f424ad05 /framework/3rdParty/WsdlGen/WsdlMessage.php
parent34d24de2f004df6ab096f4165eb31e16e70e76bb (diff)
Fixed a number of SOAP bugs.
Diffstat (limited to 'framework/3rdParty/WsdlGen/WsdlMessage.php')
-rw-r--r--framework/3rdParty/WsdlGen/WsdlMessage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/3rdParty/WsdlGen/WsdlMessage.php b/framework/3rdParty/WsdlGen/WsdlMessage.php
index 74165dae..4d044dd0 100644
--- a/framework/3rdParty/WsdlGen/WsdlMessage.php
+++ b/framework/3rdParty/WsdlGen/WsdlMessage.php
@@ -62,12 +62,12 @@ class WsdlMessage
*/
public function getMessageElement(DOMDocument $dom)
{
- $message = $dom->createElement('message');
+ $message = $dom->createElementNS('http://schemas.xmlsoap.org/wsdl/', 'wsdl:message');
$message->setAttribute('name', $this->name);
foreach ($this->parts as $part) {
if (isset($part['name'])) {
- $partElement = $dom->createElement('part');
+ $partElement = $dom->createElementNS('http://schemas.xmlsoap.org/wsdl/', 'wsdl:part');
$partElement->setAttribute('name', $part['name']);
$partElement->setAttribute('type', $part['type']);
$message->appendChild($partElement);