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',