88 lines
1.5 KiB
PHP
88 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* Interface class for Scores_Ws
|
|
*/
|
|
interface Scores_Ws_Interface
|
|
{
|
|
/**
|
|
* Define service name
|
|
* @param string $name
|
|
*/
|
|
public function setService($name);
|
|
|
|
/**
|
|
* Get the service name
|
|
* @void
|
|
*/
|
|
public function getServiceName();
|
|
|
|
/**
|
|
* Get Method name
|
|
* @void
|
|
*/
|
|
public function getMethodName();
|
|
|
|
/**
|
|
* Get Params
|
|
* @void
|
|
*/
|
|
public function getParams();
|
|
|
|
/**
|
|
* Get fault code
|
|
* @void
|
|
*/
|
|
public function getFaultCode();
|
|
|
|
/**
|
|
* Set the default for max responses
|
|
* @param int $nb
|
|
*/
|
|
public function setNbReponses($nb);
|
|
|
|
/**
|
|
* Define WSDL URI
|
|
* @param string $wsdl
|
|
*/
|
|
public function setSoapClientWsdl($wsdl = null);
|
|
|
|
/**
|
|
* Define options for SoapClient
|
|
* @param string $name
|
|
* @param string $value
|
|
*/
|
|
public function setSoapClientOption($name = null , $value = null);
|
|
|
|
/**
|
|
* Instantiate Soap Client
|
|
*/
|
|
public function getSoapClient();
|
|
|
|
/**
|
|
* Get Soap Response
|
|
*/
|
|
public function getSoapResponse();
|
|
|
|
/**
|
|
* True if the response is an error
|
|
*/
|
|
public function isError();
|
|
|
|
/**
|
|
* True if the response is a message
|
|
*/
|
|
public function isMessage();
|
|
|
|
/**
|
|
* Return message (error)
|
|
*/
|
|
public function getMessage();
|
|
|
|
/**
|
|
* Get the filename for a mathod
|
|
* @param string $method
|
|
* @param array $args
|
|
*/
|
|
public function getFilename($method, $args);
|
|
|
|
} |