public function addSoapOperation(DOMElement $binding, $soapAction)
    {
        $soapOperation = $this->dom->createElement('soap:operation');
        $soapOperation->setAttribute('soapAction', $soapAction);

        $binding->insertBefore($soapOperation, $binding->firstChild);

        return $soapOperation;
    }
public function addSoapOperation(DOMElement $binding, $soapAction)
    {
        $soapOperation = $this->dom->createElement('soap:operation');
        $soapOperation->setAttribute('soapAction', $soapAction);

        $binding->insertBefore($soapOperation, $binding->firstChild);

        return $soapOperation;
    }
public function addSoapOperation ( DOMElement $ binding , $ soapAction ) { $ soapOperation = $ this -> dom -> createElement ( 'soap:operation' ) ; $ soapOperation -> setAttribute ( 'soapAction' , $ soapAction ) ; $ binding -> insertBefore ( $ soapOperation , $ binding -> firstChild ) ; return $ soapOperation ; }
Add a SOAP operation to an operation element.

@param DOMElement $binding The binding element (from addBindingOperation() method).
@param string $soapAction SOAP Action.
@return DOMElement
@link http://www.w3.org/TR/wsdl#_soap:operation
Add a SOAP operation to an operation element .