From f7ca8c7ac8718899c1ab36513aaf3853a4514816 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 12 Jan 2007 05:53:43 +0000 Subject: Fixed a number of SOAP bugs. --- framework/3rdParty/WsdlGen/WsdlMessage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/3rdParty/WsdlGen/WsdlMessage.php') 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); -- cgit v1.2.3