EC-CUBE
Public メソッド | 変数
クラス SOAP_Server
SOAP_Serverに対する継承グラフ
Inheritance graph
[凡例]
SOAP_Serverのコラボレーション図
Collaboration graph
[凡例]

Public メソッド

 SOAP_Server ($options=null)
 _errorHandler ($errno, $errmsg, $filename, $linenum)
 _getContentEncoding ($content_type)
 service ($data, $endpoint= '', $test=false, $return=false)
 _sendResponse ($response= '')
callMethod ($methodname, &$args)
 buildResult (&$method_response, &$return_type, $return_name= 'return', $namespace= '')
 parseRequest ($data= '', $attachments=null)
__decodeRequest ($request, $shift=false)
 verifyMethod ($request)
 validateMethod ($methodname, $namespace=null)
 addObjectMap (&$obj, $namespace=null, $service_name= 'Default', $service_desc= '')
 addToMap ($methodname, $in, $out, $namespace=null, $alias=null)
 setCallHandler ($callHandler, $validation=true)
 bind ($wsdl_url)
 bindWSDL ($wsdl_url)
 addObjectWSDL (&$wsdl_obj, $targetNamespace, $service_name, $service_desc= '')

変数

 $dispatch_map = array()
 $dispatch_objects = array()
 $soapobject = null
 $call_methodname = null
 $callHandler = null
 $callValidation = true
 $headers = array()
 $request = ''
 $xml_encoding = SOAP_DEFAULT_ENCODING
 $response_encoding = 'UTF-8'
 $result = 'successful'
 $endpoint = ''
 $service = ''
 $method_namespace = null
 $_options

関数

_errorHandler ( errno,
errmsg,
filename,
linenum 
)

Error handler for errors that happen in proxied methods.

To always return a valid SOAP response even on errors that don't happen in this code, the errors are catched, transformed to a SOAP fault and immediately sent to the client.

参照:
http://www.php.net/set_error_handler
_sendResponse ( response = '')

Sends the final HTTP response to the client, including the HTTP header and the HTTP body.

If an error happened, it returns a SOAP fault instead of the response body.

引数:
string$responseThe response body.
addObjectWSDL ( &$  wsdl_obj,
targetNamespace,
service_name,
service_desc = '' 
)
戻り値:
void
addToMap ( methodname,
in,
out,
namespace = null,
alias = null 
)

Adds a method to the dispatch map.

bind ( wsdl_url)
非推奨:
use bindWSDL from now on
bindWSDL ( wsdl_url)
引数:
stringa url to a WSDL resource
戻り値:
void
buildResult ( &$  method_response,
&$  return_type,
return_name = 'return',
namespace = '' 
)

Creates SOAP_Value objects with return values from method. Uses method signature to determine type.

引数:
mixed$method_responseThe result(s).
array | string$typeThe type(s) of the return value(s).
string$return_nameThe name of the return value.
string$namespaceThe namespace of the return value.
戻り値:
array List of SOAP_Value objects.
service ( data,
endpoint = '',
test = false,
return = false 
)

Parses the request and posts or returns the response.

引数:
string$dataThe SOAP request data.
string$endpointThe service endpoint. Determined automatically if left empty.
boolean$test
boolean$returnWhether to return the SOAP response data instead of sending it to the client.

構造体

$_options
初期値:
 array('use' => 'encoded',
                          'style' => 'rpc',
                          'parameters' => 0,
                          'http_status_success' => '200 OK',
                          'http_status_fault' => '500 SOAP Fault')

このクラスの説明は次のファイルから生成されました:
 全て データ構造 ネームスペース 関数 変数