Request_Soap Class

Soap driver for Requests

package Fuel\Core

 Methods

Extends parent constructor to detect availability of cURL

__construct(string $resource, array $options) 

Parameters

$resource

string

$options

array

Exceptions

\FuelException
\RequestException

execute()

execute(array $additional_params) 

Parameters

$additional_params

Get functions defined in WSDL

get_functions() : array

Exceptions

\RequestException

Returns

array

Get last request headers

get_request_headers() : string

Exceptions

\RequestException

Returns

string

Get last request XML

get_request_xml() : string

Exceptions

\RequestException

Returns

string

Get last response headers

get_response_headers() : string

Exceptions

\RequestException

Returns

string

Get last response XML

get_response_xml() : string

Exceptions

\RequestException

Returns

string

Get last response headers

get_types() : array

Exceptions

\RequestException

Returns

array

Set the function to execute on the SoapClient

set_function(string $function) : \Fuel\Core\Request_Soap

Parameters

$function

string

Returns

Change the endpoint location

set_location(string $location) : string

Parameters

$location

string

Returns

stringthe old endpoint

Fetch the connection, create if necessary

connection() : \SoapClient

Returns

Extends parent to reset headers as well

set_defaults() : \Fuel\Core\Request_Soap

 Properties

 

<p>holds the SoapClient object used for the connection</p>

$connection : \SoapClient

 

<p>function to call</p>

$function : string

 

$generic_settings

$generic_settings 

 

$non_wsdl_settings

$non_wsdl_settings 

 

$wsdl_settings

$wsdl_settings