Zend\Soap\Wsdl::addService
Add a {@link http://www.w3.org/TR/wsdl#_services service} element to the WSDL
Signature
public function addService(string
$name,
[string
$portName = SOAP_1_1,
[string
$binding = SOAP_1_1,
[string
$location = SOAP_1_1,
[int
$soapVersion = SOAP_1_1]]]] )
Parameters
$name
—
string
- Service Name
$portName
—
string
- Name of the port for the service
$binding
—
string
- Binding for the port
$location
—
string
- SOAP Address for the service
$soapVersion
—
int
- SOAP version: SOAP_1_1 or SOAP_1_2, default: SOAP_1_1
Returns
- DOMElement
- The new service's XML_Tree_Node for use with {@link function addDocumentation}