From 65fc380fa2801cc92d1b6761b7aad7b197083ac6 Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Thu, 17 Nov 2011 19:58:23 +0100 Subject: [PATCH] Fixed issue #16 --- ServiceDefinition/Dumper/WsdlDumper.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ServiceDefinition/Dumper/WsdlDumper.php b/ServiceDefinition/Dumper/WsdlDumper.php index bf348e2..1d31687 100644 --- a/ServiceDefinition/Dumper/WsdlDumper.php +++ b/ServiceDefinition/Dumper/WsdlDumper.php @@ -82,7 +82,10 @@ class WsdlDumper implements DumperInterface $this->qualify($this->getRequestMessageName($method)), $this->qualify($this->getResponseMessageName($method)) ); - $portOperation->setAttribute('parameterOrder', implode(' ', array_keys($requestParts))); + + if (!empty($requestParts)) { + $portOperation->setAttribute('parameterOrder', implode(' ', array_keys($requestParts))); + } $baseBinding = array( 'use' => 'literal',