Issues

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

Fixed.