{"issue":{"created_at":"2011-11-18T13:48:39Z","state":"open","updated_at":"2011-11-27T11:01:11Z","user":{"gravatar_id":"23fe4c149bf660e626f0c3712e9e333e","id":145141,"url":"https://api.github.com/users/joksnet","login":"joksnet","avatar_url":"https://secure.gravatar.com/avatar/23fe4c149bf660e626f0c3712e9e333e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"The same problem as #16 but with other field. Here is a patch:\r\n\r\n```patch\r\ndiff --git a/ServiceDefinition/Dumper/WsdlDumper.php b/ServiceDefinition/Dumper/WsdlDumper.php\r\nindex 97517f7..76bc35d 100644\r\n--- a/ServiceDefinition/Dumper/WsdlDumper.php\r\n+++ b/ServiceDefinition/Dumper/WsdlDumper.php\r\n@@ -80,17 +80,25 @@ class WsdlDumper implements DumperInterface\r\n             );\r\n             $portOperation->setAttribute('parameterOrder', implode(' ', array_keys($requestParts)));\r\n \r\n-            $baseBinding = array(\r\n+            $baseBinding = $inputBinding = $outputBinding = array(\r\n                 'use'           => 'literal',\r\n                 'namespace'     => $definition->getNamespace(),\r\n                 'encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/',\r\n             );\r\n \r\n+            if (!empty($requestParts)) {\r\n+                $inputBinding['parts'] = implode(' ', array_keys($requestParts));\r\n+            }\r\n+\r\n+            if (!empty($responseParts)) {\r\n+                $outputBinding['parts'] = implode(' ', array_keys($responseParts));\r\n+            }\r\n+\r\n             $bindingOperation = $this->wsdl->addBindingOperation(\r\n                 $binding,\r\n                 $method->getName(),\r\n-                array_merge(array('parts' => implode(' ', array_keys($requestParts))), $baseBinding),\r\n-                array_merge(array('parts' => implode(' ', array_keys($responseParts))), $baseBinding)\r\n+                $inputBinding,\r\n+                $outputBinding\r\n             );\r\n             $bindingOperation = $this->wsdl->addBindingOperationHeader(\r\n                 $bindingOperation,\r\n```","assignee":null,"number":17,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2280180,"labels":[],"title":"Empty parts attribute for soap:body in operation","closed_at":null,"html_url":"https://github.com/BeSimple/BeSimpleSoapBundle/issues/17","milestone":null,"url":"https://api.github.com/repos/BeSimple/BeSimpleSoapBundle/issues/17"},"action":"created","comment":{"created_at":"2011-11-27T11:01:11Z","updated_at":"2011-11-27T11:01:11Z","user":{"gravatar_id":"a40ab740aa4a44aaba6866340f0a920a","id":471525,"url":"https://api.github.com/users/francisbesset","login":"francisbesset","avatar_url":"https://secure.gravatar.com/avatar/a40ab740aa4a44aaba6866340f0a920a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"@joksnet?","id":2887123,"url":"https://api.github.com/repos/BeSimple/BeSimpleSoapBundle/issues/comments/2887123"}}