From 6dae236ec5528522de472637f9d70a98158b9a5d Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 5 Feb 2015 11:45:26 +0100 Subject: Renamed 3rdparty directory to vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Php namespaces can’t begin with a number --- framework/3rdParty/WsdlGen/WsdlMessage.php | 80 ------------------------------ 1 file changed, 80 deletions(-) delete mode 100644 framework/3rdParty/WsdlGen/WsdlMessage.php (limited to 'framework/3rdParty/WsdlGen/WsdlMessage.php') diff --git a/framework/3rdParty/WsdlGen/WsdlMessage.php b/framework/3rdParty/WsdlGen/WsdlMessage.php deleted file mode 100644 index 3597c977..00000000 --- a/framework/3rdParty/WsdlGen/WsdlMessage.php +++ /dev/null @@ -1,80 +0,0 @@ - - * @author Wei Zhuo - * @package System.Web.Services.SOAP - */ - -/** - * Represents a WSDL message. This is bound to the portTypes - * for this service - * @author Marcus Nyeholt - * @author Wei Zhuo - * @version $Revision$ - */ -class WsdlMessage -{ - /** - * The name of this message - * @var string - */ - private $name; - - /** - * Represents the parameters for this message - * @var array - */ - private $parts; - - /** - * Creates a new message - * @param string $messageName The name of the message - * @param string $parts The parts of this message - */ - public function __construct($messageName, $parts) - { - $this->name = $messageName; - $this->parts = $parts; - - } - - /** - * Gets the name of this message - * @return string The name - */ - public function getName() - { - return $this->name; - } - - /** - * Return the message as a DOM element - * @param DOMDocument $wsdl The wsdl document the messages will be children of - */ - public function getMessageElement(DOMDocument $dom) - { - $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->createElementNS('http://schemas.xmlsoap.org/wsdl/', 'wsdl:part'); - $partElement->setAttribute('name', $part['name']); - $partElement->setAttribute('type', $part['type']); - $message->appendChild($partElement); - } - } - - return $message; - } -} -- cgit v1.2.3