private function definitions()
{
$targetNamespace = $this->builder->getTargetNamespace();
$definitionsElement = $this->createElementWithAttributes('definitions', ['name' => $this->builder->getName(), 'targetNamespace' => $targetNamespace, 'xmlns:tns' => $targetNamespace, 'xmlns:xsd' => 'http://www.w3.org/2001/XMLSchema', 'xmlns:' . $this->XMLSoapVersion => 'http://schemas.xmlsoap.org/wsdl/' . $this->XMLSoapVersion . '/', 'xmlns:soapenc' => "http://schemas.xmlsoap.org/soap/encoding/", 'xmlns' => 'http://schemas.xmlsoap.org/wsdl/', 'xmlns:ns' => $this->builder->getNs()]);
$this->DOMDocument->appendChild($definitionsElement);
$this->definitionsRootNode = $definitionsElement;
return $this;
}