(no version information, might be only in CVS)

SoapServer::SoapServer --  SoapServer constructor


object SoapServer::SoapServer ( mixed wsdl [, array options])

This constuctor allows the creatiion of SoapServer objects in WSDL or non-WSDL mode. In the first case, wsdl must be set to the URI of a WSDL file. In the second case, wsdl must be set to NULL and the uri option must be set. Additional options allow setting a default SOAP version (soap_version) and actor URI (actor).

例子 1. Some examples


= new SoapServer("some.wsdl");

$server = new SoapServer("some.wsdl", array('soap_version' => SOAP_1_2));

$server = new SoapServer("some.wsdl", array('actor' => ""));

$server = new SoapServer(null, array('uri' => "http://test-uri/"));


虎的笑话 虎的成语 虎的歇后语