Public Member Functions | |
addService ($name, &$service) | |
addWSDL ($name, $url) | |
addXCubeService ($name, &$service) | |
& | searchXCubeService ($name) |
& | createClient (&$service) |
XCube namespace can't contain the SOAP library directly. Delegate mechanism is good for this class. This class creates a client instance which to connect to a service, with following the kind of the service. For example, if the specified service is really web service, SOAP client has to be created. But, if the service is a virtual service of XCube, virtual client has to be created.
XCube_ServiceManager::addService | ( | $ | name, | |
&$ | service | |||
) |
Add service object. $name must be unique in the list of service. If the service which has the same name, is a member of the list, return false.
$name | string | |
$service | XCube_Service |
XCube_ServiceManager::addWSDL | ( | $ | name, | |
$ | url | |||
) |
Add WSDL URL. $name must be unique in the list of service. If the service which has the same name, is a member of the list, return false.
XCube_ServiceManager::addXCubeService | ( | $ | name, | |
&$ | service | |||
) |
This member function will be removed at beta version.
& XCube_ServiceManager::searchXCubeService | ( | $ | name | ) |
This member function will be removed at beta version.
& XCube_ServiceManager::createClient | ( | &$ | service | ) |
Create client instance which to connect to a service, with following the kind of the service. Then return that instance. For example, if the specified service is really web service, SOAP client has to be created. But, if the service is a virtual service of XCube, virtual client has to be created.