ZF-10646: Invalid WSDL generated for one way message
Description
In class Zend_Soap_AutoDiscover on line 482 there is no difference if message is one way or two ways. This generates invalid WSDL for one way messages.
Line 482 should be replaced to:
if ($isOneWayMessage) {
$operation = $wsdl->addBindingOperation($binding, $function->getName(), $this->_operationBodyStyle, null);
} else {
$operation = $wsdl->addBindingOperation($binding, $function->getName(), $this->_operationBodyStyle, $this->_operationBodyStyle);
}
Comments
Posted by Alexander Veremyev (alexander) on 2010-11-15T06:59:55.000+0000
Fixed.