Soap/AutoDiscover.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- 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
Package: Zend_Soap\AutoDiscoverZend_Soap_AutoDiscover
- Implements
- Category
- Zend
Properties



array $_operationBodyStyle = array('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/")
soap:body operation style options
Default valuearray('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/")
Details- Type
- array



string $_wsdlClass = 'Zend_Soap_Wsdl'
Name of the class to handle the WSDL creation.
Default value'Zend_Soap_Wsdl'
Details- Type
- string
Methods



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


dump(string $filename) : boolean
Proxy to WSDL dump function
ParametersName | Type | Description |
---|
$filename | string | |
---|
ReturnsThrows 


fault(string $fault = null, string | int $code = null) : void
Action to take when an error occurs
ParametersName | Type | Description |
---|
$fault | string | |
---|
$code | string | int | |
---|
Throws 


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


handle(string $request = false) : void
ParametersName | Type | Description |
---|
$request | string | A non-standard request - Not Used |
---|



setBindingStyle(array $bindingStyle = array()) : \Zend_Soap_AutoDiscover
Set Binding soap:binding style.
By default 'style' is 'rpc' and 'transport' is 'http://schemas.xmlsoap.org/soap/http'.
ParametersName | Type | Description |
---|
$bindingStyle | array | |
---|
Returns


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


setOperationBodyStyle(array $operationStyle = array()) : \Zend_Soap_AutoDiscover
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/".
ParametersName | Type | Description |
---|
$operationStyle | array | |
---|
ReturnsThrowsDetails- See
-



setWsdlClass(string $wsdlClass) : \Zend_Soap_AutoDiscover
Set the name of the WSDL handling class.
ParametersName | Type | Description |
---|
$wsdlClass | string | |
---|
ReturnsThrowsDetails- See
-
- See
-