Zend\Soap\Wsdl::addSoapBinding
Add a {@link http://www.w3.org/TR/wsdl#_soap:binding SOAP binding} element to a Binding element
Signature
public function addSoapBinding(DOMElement
$binding,
[string
$style = 'document',
[string
$transport = 'http://schemas.xmlsoap.org/soap/http',
[int
$soapVersion = SOAP_1_1]]] )
Parameters
$binding
—
object
- A binding XML_Tree_Node returned by {@link function addBinding}
$style
—
string
- binding style, possible values are "rpc" (the default) and "document"
$transport
—
string
- Transport method (defaults to HTTP)
$soapVersion
—
int
- SOAP version: SOAP_1_1 or SOAP_1_2, default: SOAP_1_1
Returns
- DOMElement