Zend Framework
1.12
|
Public Member Functions | |
__construct ($strategy=true, $uri=null, $wsdlClass=null) | |
Constructor. | |
setUri ($uri) | |
Set the location at which the WSDL file will be availabe. | |
getUri () | |
Return the current Uri that the SOAP WSDL Service will be located at. | |
setWsdlClass ($wsdlClass) | |
Set the name of the WSDL handling class. | |
getWsdlClass () | |
Return the name of the WSDL handling class. | |
setOperationBodyStyle (array $operationStyle=array()) | |
Set options for all the binding operations soap:body elements. | |
setBindingStyle (array $bindingStyle=array()) | |
Set Binding soap:binding style. | |
setComplexTypeStrategy ($strategy) | |
Set the strategy that handles functions and classes that are added AFTER this call. | |
setClass ($class, $namespace= '', $argv=null) | |
Set the Class the SOAP server will use. | |
addFunction ($function, $namespace= '') | |
Add a Single or Multiple Functions to the WSDL. | |
fault ($fault=null, $code=null) | |
Action to take when an error occurs. | |
handle ($request=false) | |
Handle the Request. | |
dump ($filename) | |
Proxy to WSDL dump function. | |
toXml () | |
Proxy to WSDL toXml() function. | |
getFunctions () | |
Return an array of functions in the WSDL. | |
loadFunctions ($definition) | |
Load Functions. | |
setPersistence ($mode) | |
Set Persistance. | |
getType ($type) | |
Returns an XSD Type for the given PHP type. | |
Protected Member Functions | |
getSchema () | |
Detect and returns the current HTTP/HTTPS Schema. | |
getHostName () | |
Detect and return the current hostname. | |
getRequestUriWithoutParameters () | |
Detect and return the current script name without parameters. | |
_addFunctionToWsdl ($function, $wsdl, $port, $binding) | |
Add a function to the WSDL document. | |
Protected Attributes | |
$_wsdl = null | |
$_reflection = null | |
$_functions = array() | |
$_strategy | |
$_uri | |
$_operationBodyStyle = array('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/") | |
$_bindingStyle = array('style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http') | |
$_wsdlClass = 'Zend_Soap_Wsdl' | |
__construct | ( | $strategy = true , |
|
$uri = null , |
|||
$wsdlClass = null |
|||
) |
Constructor.
boolean | string | Zend_Soap_Wsdl_Strategy_Interface | $strategy | |
string | Zend_Uri | $uri | |
string | $wsdlClass |
|
protected |
Add a function to the WSDL document.
Zend_Server_Reflection_Function_Abstract | $function | function to add |
Zend_Soap_Wsdl | $wsdl | WSDL document |
object | $port | wsdl:portType |
object | $binding | wsdl:binding |
addFunction | ( | $function, | |
$namespace = '' |
|||
) |
Add a Single or Multiple Functions to the WSDL.
string | $function | Function Name |
string | $namespace | Function namespace - Not Used |
Implements Zend_Server_Interface.
dump | ( | $filename | ) |
Proxy to WSDL dump function.
string | $filename |
Zend_Soap_AutoDiscover_Exception |
fault | ( | $fault = null , |
|
$code = null |
|||
) |
Action to take when an error occurs.
string | $fault | |
string | int | $code |
Zend_Soap_AutoDiscover_Exception |
Implements Zend_Server_Interface.
getFunctions | ( | ) |
|
protected |
Detect and return the current hostname.
|
protected |
Detect and return the current script name without parameters.
|
protected |
Detect and returns the current HTTP/HTTPS Schema.
getType | ( | $type | ) |
Returns an XSD Type for the given PHP type.
string | $type | PHP Type to get the XSD type for |
getUri | ( | ) |
Return the current Uri that the SOAP WSDL Service will be located at.
getWsdlClass | ( | ) |
Return the name of the WSDL handling class.
handle | ( | $request = false | ) |
Handle the Request.
string | $request | A non-standard request - Not Used |
Implements Zend_Server_Interface.
loadFunctions | ( | $definition | ) |
Load Functions.
unknown_type | $definition |
Zend_Soap_AutoDiscover_Exception |
Implements Zend_Server_Interface.
setBindingStyle | ( | array | $bindingStyle = array() | ) |
Set Binding soap:binding style.
By default 'style' is 'rpc' and 'transport' is 'http://schemas.xmlsoap.org/soap/http'.
array | $bindingStyle |
setClass | ( | $class, | |
$namespace = '' , |
|||
$argv = null |
|||
) |
Set the Class the SOAP server will use.
string | $class | Class Name |
string | $namespace | Class Namspace - Not Used |
array | $argv | Arguments to instantiate the class - Not Used |
Implements Zend_Server_Interface.
setComplexTypeStrategy | ( | $strategy | ) |
Set the strategy that handles functions and classes that are added AFTER this call.
boolean | string | Zend_Soap_Wsdl_Strategy_Interface | $strategy |
setOperationBodyStyle | ( | array | $operationStyle = array() | ) |
Set options for all the binding operations soap:body elements.
By default the options are set to 'use' => 'encoded' and 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/".
array | $operationStyle |
Zend_Soap_AutoDiscover_Exception |
setPersistence | ( | $mode | ) |
Set Persistance.
int | $mode |
Zend_Soap_AutoDiscover_Exception |
Implements Zend_Server_Interface.
setUri | ( | $uri | ) |
Set the location at which the WSDL file will be availabe.
Zend_Uri | string | $uri |
Zend_Soap_AutoDiscover_Exception |
setWsdlClass | ( | $wsdlClass | ) |
Set the name of the WSDL handling class.
string | $wsdlClass |
Zend_Soap_AutoDiscover_Exception |
toXml | ( | ) |
Proxy to WSDL toXml() function.
Zend_Soap_AutoDiscover_Exception |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |