Class SpexLiveServiceClient

Description

SpexLiveServiceClient is a simple client for connecting to an end service, sending WSRequest and retrieving it's raw XML response. It a Singleton class so only one instance of this class is created anytime.

SpexLiveServiceClient is used to service request comming from WSGateway and send the request to the target service and get the XML response from the service.

Located in /models/SpexLiveServiceClient.php (line 19)


	
			
Method Summary
WSResponse doRest (WSRequest $wsRequest)
Zend_Rest_Client getRestClient ( $url, string $WebService)
Methods
static method getInstance (line 36)

factory method to return the singleton instance

  • access: public
static SpexLiveServiceClient getInstance ()
doRest (line 116)

Call the target service through Zend_Rest_Client Api.

  • access: public
WSResponse doRest (WSRequest $wsRequest)
doSimpleGet (line 128)

Call the target service through file_get_contents.

  • access: public
WSResponse doSimpleGet (WSRequest $wsRequest)
getRestClient (line 58)

Returns a reference to the REST client, instantiating it if necessary

  • access: public
Zend_Rest_Client getRestClient ( $url, string $WebService)
  • string $WebService: Location
  • $url

Documentation generated on Wed, 13 Feb 2008 01:57:43 +0500 by phpDocumentor 1.4.0a2