• Модуль: webservice
  • Путь к файлу: ~/bitrix/modules/webservice/classes/general/wsdl/wsdlcreator.php
  • Класс: CWSDLCreator
  • Вызов: CWSDLCreator::__createService
function __createService ($services)
{
	if (is_array($services)) {
		foreach ($services as $class=>$methods) {
			$port = new CXMLCreator("wsdl:port");
			$port->setAttribute("name", $class."Soap");
			$port->setAttribute("binding", "tns:".$class."Binding");
			$soap = new CXMLCreator("soap:address");
			$soap->setAttribute("location", $this->serviceUrl);
			$port->addChild($soap);
			$this->services[] = $port;
		}
	}
}