Closed joksnet closed 12 years ago
Little patch:
diff --git a/ServiceDefinition/Dumper/WsdlDumper.php b/ServiceDefinition/Dumper/WsdlDumper.php
index 97517f7..51aa010 100644
--- a/ServiceDefinition/Dumper/WsdlDumper.php
+++ b/ServiceDefinition/Dumper/WsdlDumper.php
@@ -78,7 +78,9 @@ 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',
You have submitted an issue in a bad repository. Please create an issue in BeSimple/BeSimpleSoapBundle: https://github.com/BeSimple/BeSimpleSoapBundle
Ups. I'm sorry.
Hello,
When I have a soap method without any parameters, the WSDL operation tag it's generated with the attribute parameterOrder empty. When trying to load the file with .NET
wsdl.exe
I get This web service does not conform to WS-I Basic Profile v1.1.Looking at WS-I Basic Profile v1.1 specification, I found this phase:
I think it refers that the attribute parameterOrder it mustn't be present if empty.