Fixed issue #17
This commit is contained in:
parent
5cb8249218
commit
f0031e8923
|
@ -79,21 +79,29 @@ class WsdlDumper implements DumperInterface
|
||||||
$this->qualify($this->getResponseMessageName($method))
|
$this->qualify($this->getResponseMessageName($method))
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!empty($requestParts)) {
|
$baseBinding =
|
||||||
$portOperation->setAttribute('parameterOrder', implode(' ', array_keys($requestParts)));
|
$inputBinding =
|
||||||
}
|
$outputBinding = array(
|
||||||
|
|
||||||
$baseBinding = array(
|
|
||||||
'use' => 'literal',
|
'use' => 'literal',
|
||||||
'namespace' => $definition->getNamespace(),
|
'namespace' => $definition->getNamespace(),
|
||||||
'encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/',
|
'encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!empty($requestParts)) {
|
||||||
|
$portOperation->setAttribute('parameterOrder', implode(' ', array_keys($requestParts)));
|
||||||
|
|
||||||
|
$inputBinding['parts'] = implode(' ', array_keys($requestParts));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($responseParts)) {
|
||||||
|
$outputBinding['parts'] = implode(' ', array_keys($responseParts));
|
||||||
|
}
|
||||||
|
|
||||||
$bindingOperation = $this->wsdl->addBindingOperation(
|
$bindingOperation = $this->wsdl->addBindingOperation(
|
||||||
$binding,
|
$binding,
|
||||||
$method->getName(),
|
$method->getName(),
|
||||||
array_merge(array('parts' => implode(' ', array_keys($requestParts))), $baseBinding),
|
$inputBinding,
|
||||||
array_merge(array('parts' => implode(' ', array_keys($responseParts))), $baseBinding)
|
$outputBinding
|
||||||
);
|
);
|
||||||
$bindingOperation = $this->wsdl->addBindingOperationHeader(
|
$bindingOperation = $this->wsdl->addBindingOperationHeader(
|
||||||
$bindingOperation,
|
$bindingOperation,
|
||||||
|
|
Loading…
Reference in New Issue