Zend_Soap_AutoDiscover
category | Zend |
---|---|
package | Zend_Soap |
subpackage | AutoDiscover |
__construct(boolean|string|\Zend_Soap_Wsdl_Strategy_Interface $strategy= true
, string|\Zend_Uri $uri= null
, string $wsdlClass= null
)
boolean
string
\Zend_Soap_Wsdl_Strategy_Interface
string
\Zend_Uri
string
addFunction(string $function, string $namespace = ''
) : \Zend_Soap_AutoDiscover
Namespacing is primarily for xmlrpc, but may be used with other implementations to prevent naming collisions.
inherited_from | \Zend_Server_Interface::addFunction() |
---|
string
Function Name
string
Function namespace - Not Used
\Zend_Soap_AutoDiscover
dump(string $filename) : boolean
string
\Zend_Soap_AutoDiscover_Exception |
---|
boolean
fault(string $fault= null
, string|integer $code= null
)
inherited_from | \Zend_Server_Interface::fault() |
---|
string
string
integer
\Zend_Soap_AutoDiscover_Exception |
---|
getFunctions() : array
Returns a server definition array as created using *. Can be used for server introspection, documentation, or persistence.
inherited_from | \Zend_Server_Interface::getFunctions() |
---|
array
getType(string $type) : string
string
PHP Type to get the XSD type for
string
getUri() : \Zend_Uri
\Zend_Uri
getWsdlClass() : string
string
handle(string $request = false
)
Requests may be passed in, or the server may automagically determine the request based on defaults. Dispatches server request to appropriate method and returns a response
inherited_from | \Zend_Server_Interface::handle() |
---|
string
A non-standard request - Not Used
loadFunctions(\unknown_type $definition)
Used for persistence; loads a construct as returned by \getFunctions().
inherited_from | \Zend_Server_Interface::loadFunctions() |
---|
\unknown_type
\Zend_Soap_AutoDiscover_Exception |
---|
setBindingStyle(array $bindingStyle = array()
) : \Zend_Soap_AutoDiscover
By default 'style' is 'rpc' and 'transport' is 'http://schemas.xmlsoap.org/soap/http'.
array
\Zend_Soap_AutoDiscover
setClass(string $class, string $namespace= ''
, array $argv= null
) : \Zend_Soap_AutoDiscover
The individual implementations should probably allow passing a variable number of arguments in, so that developers may define custom runtime arguments to pass to server methods.
Namespacing is primarily for xmlrpc, but could be used for other implementations as well.
inherited_from | \Zend_Server_Interface::setClass() |
---|
string
Class Name
string
Class Namspace - Not Used
array
Arguments to instantiate the class - Not Used
\Zend_Soap_AutoDiscover
setComplexTypeStrategy(boolean|string|\Zend_Soap_Wsdl_Strategy_Interface $strategy) : \Zend_Soap_AutoDiscover
boolean
string
\Zend_Soap_Wsdl_Strategy_Interface
\Zend_Soap_AutoDiscover
setOperationBodyStyle(array $operationStyle = array()
) : \Zend_Soap_AutoDiscover
By default the options are set to 'use' => 'encoded' and 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/".
see |
---|
array
\Zend_Soap_AutoDiscover_Exception |
---|
\Zend_Soap_AutoDiscover
setPersistence(integer $mode)
inherited_from | \Zend_Server_Interface::setPersistence() |
---|
integer
\Zend_Soap_AutoDiscover_Exception |
---|
setUri(\Zend_Uri|string $uri) : \Zend_Soap_AutoDiscover
setWsdlClass(string $wsdlClass) : \Zend_Soap_AutoDiscover
toXml() : string
\Zend_Soap_AutoDiscover_Exception |
---|
string
_addFunctionToWsdl(\Zend_Server_Reflection_Function_Abstract $function, \Zend_Soap_Wsdl $wsdl, object $port, object $binding) : void
\Zend_Server_Reflection_Function_Abstract
function to add
\Zend_Soap_Wsdl
WSDL document
object
wsdl:portType
object
wsdl:binding
getHostName() : string
string
getRequestUriWithoutParameters() : string
string
getSchema() : string
string
$_bindingStyle : array
array('style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http')
$_functions : array
array()
$_operationBodyStyle : array
array('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/")
$_reflection : \Zend_Server_Reflection
null
$_strategy : boolean
$_uri : \WSDL
$_wsdl : \Zend_Soap_Wsdl
null
$_wsdlClass : string
'Zend_Soap_Wsdl'