public function addSoapBinding(
        DOMElement $binding,
        $style = 'rpc',
        $transport = 'http://schemas.xmlsoap.org/soap/http'
    ) {
        $soapBinding = $this->dom->createElement('soap:binding');
        $soapBinding->setAttribute('style', $style);
        $soapBinding->setAttribute('transport', $transport);

        $binding->appendChild($soapBinding);

        return $soapBinding;
    }
public function addSoapBinding(
        DOMElement $binding,
        $style = 'rpc',
        $transport = 'http://schemas.xmlsoap.org/soap/http'
    ) {
        $soapBinding = $this->dom->createElement('soap:binding');
        $soapBinding->setAttribute('style', $style);
        $soapBinding->setAttribute('transport', $transport);

        $binding->appendChild($soapBinding);

        return $soapBinding;
    }
public function addSoapBinding ( DOMElement $ binding , $ style = 'rpc' , $ transport = 'http://schemas.xmlsoap.org/soap/http' ) { $ soapBinding = $ this -> dom -> createElement ( 'soap:binding' ) ; $ soapBinding -> setAttribute ( 'style' , $ style ) ; $ soapBinding -> setAttribute ( 'transport' , $ transport ) ; $ binding -> appendChild ( $ soapBinding ) ; return $ soapBinding ; }
Add a SOAP binding element to the Binding element.

@param DOMElement $binding The binding element (from addBinding() method).
@param string $style The binding style (rpc or document).
@param string $transport The transport method.
@return DOMElement
@link http://www.w3.org/TR/wsdl#_soap:binding
Add a SOAP binding element to the Binding element .