Soap/AutoDiscover.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Soap
- Subpackage
- AutoDiscover
- Version
- $Id$
\Zend_Soap_AutoDiscover
- Implements
- Category
- Zend
Properties

array $_bindingStyle = array('style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http')array('style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http')Details- Type
- array

array $_operationBodyStyle = array('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/")array('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/")Details- Type
- array
Methods

__construct(boolean | string | \Zend_Soap_Wsdl_Strategy_Interface $strategy = true, string | \Zend_Uri $uri = null, string $wsdlClass = null) : voidConstructor
| Name | Type | Description |
|---|---|---|
| $strategy | boolean | string | \Zend_Soap_Wsdl_Strategy_Interface | |
| $uri | string | \Zend_Uri | |
| $wsdlClass | string |

_addFunctionToWsdl(\Zend_Server_Reflection_Function_Abstract $function, \Zend_Soap_Wsdl $wsdl, object $port, object $binding) : voidAdd a function to the WSDL document.
| Name | Type | Description |
|---|---|---|
| $function | \Zend_Server_Reflection_Function_Abstract | function to add |
| $wsdl | \Zend_Soap_Wsdl | WSDL document |
| $port | object | wsdl:portType |
| $binding | object | wsdl:binding |

addFunction(string $function, string $namespace = '') : \Zend_Soap_AutoDiscoverAdd a Single or Multiple Functions to the WSDL
| Name | Type | Description |
|---|---|---|
| $function | string | Function Name |
| $namespace | string | Function namespace - Not Used |
| Type | Description |
|---|---|
| \Zend_Soap_AutoDiscover |

dump(string $filename) : booleanProxy to WSDL dump function
| Name | Type | Description |
|---|---|---|
| $filename | string |
| Type | Description |
|---|---|
| boolean |
| Exception | Description |
|---|---|
| \Zend_Soap_AutoDiscover_Exception |

fault(string $fault = null, string | int $code = null) : voidAction to take when an error occurs
| Name | Type | Description |
|---|---|---|
| $fault | string | |
| $code | string | int |
| Exception | Description |
|---|---|
| \Zend_Soap_AutoDiscover_Exception |

getRequestUriWithoutParameters() : stringDetect and return the current script name without parameters
| Type | Description |
|---|---|
| string |

getType(string $type) : stringReturns an XSD Type for the given PHP type
| Name | Type | Description |
|---|---|---|
| $type | string | PHP Type to get the XSD type for |
| Type | Description |
|---|---|
| string |

getUri() : \Zend_UriReturn the current Uri that the SOAP WSDL Service will be located at.
| Type | Description |
|---|---|
| \Zend_Uri |

handle(string $request = false) : voidHandle the Request
| Name | Type | Description |
|---|---|---|
| $request | string | A non-standard request - Not Used |

loadFunctions(\unknown_type $definition) : voidLoad Functions
| Name | Type | Description |
|---|---|---|
| $definition | \unknown_type |
| Exception | Description |
|---|---|
| \Zend_Soap_AutoDiscover_Exception |

setBindingStyle(array $bindingStyle = array()) : \Zend_Soap_AutoDiscoverSet Binding soap:binding style.
| Name | Type | Description |
|---|---|---|
| $bindingStyle | array |
| Type | Description |
|---|---|
| \Zend_Soap_AutoDiscover |

setClass(string $class, string $namespace = '', array $argv = null) : \Zend_Soap_AutoDiscoverSet the Class the SOAP server will use
| Name | Type | Description |
|---|---|---|
| $class | string | Class Name |
| $namespace | string | Class Namspace - Not Used |
| $argv | array | Arguments to instantiate the class - Not Used |
| Type | Description |
|---|---|
| \Zend_Soap_AutoDiscover |

setComplexTypeStrategy(boolean | string | \Zend_Soap_Wsdl_Strategy_Interface $strategy) : \Zend_Soap_AutoDiscoverSet the strategy that handles functions and classes that are added AFTER this call.
| Name | Type | Description |
|---|---|---|
| $strategy | boolean | string | \Zend_Soap_Wsdl_Strategy_Interface |
| Type | Description |
|---|---|
| \Zend_Soap_AutoDiscover |

setOperationBodyStyle(array $operationStyle = array()) : \Zend_Soap_AutoDiscoverSet options for all the binding operations soap:body elements.
| Name | Type | Description |
|---|---|---|
| $operationStyle | array |
| Type | Description |
|---|---|
| \Zend_Soap_AutoDiscover |
| Exception | Description |
|---|---|
| \Zend_Soap_AutoDiscover_Exception |

setPersistence(int $mode) : voidSet Persistance
| Name | Type | Description |
|---|---|---|
| $mode | int |
| Exception | Description |
|---|---|
| \Zend_Soap_AutoDiscover_Exception |

setUri(\Zend_Uri | string $uri) : \Zend_Soap_AutoDiscoverSet the location at which the WSDL file will be availabe.
| Name | Type | Description |
|---|---|---|
| $uri | \Zend_Uri | string |
| Type | Description |
|---|---|
| \Zend_Soap_AutoDiscover |
| Exception | Description |
|---|---|
| \Zend_Soap_AutoDiscover_Exception |

setWsdlClass(string $wsdlClass) : \Zend_Soap_AutoDiscoverSet the name of the WSDL handling class.
| Name | Type | Description |
|---|---|---|
| $wsdlClass | string |
| Type | Description |
|---|---|
| \Zend_Soap_AutoDiscover |
| Exception | Description |
|---|---|
| \Zend_Soap_AutoDiscover_Exception |

toXml() : stringProxy to WSDL toXml() function
| Type | Description |
|---|---|
| string |
| Exception | Description |
|---|---|
| \Zend_Soap_AutoDiscover_Exception |