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_AutoDiscoverAdd a Single or Multiple Functions to the WSDL
Parameters| Name | Type | Description |
|---|
| $function | string | Function Name |
|---|
| $namespace | string | Function namespace - Not Used |
|---|
Returns 


dump(string $filename) : booleanProxy to WSDL dump function
Parameters| Name | Type | Description |
|---|
| $filename | string | |
|---|
ReturnsThrows 


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


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


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



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


setClass(string $class, string $namespace = '', array $argv = null) : \Zend_Soap_AutoDiscoverSet the Class the SOAP server will use
Parameters| Name | 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_AutoDiscoverSet 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/".
Parameters| Name | Type | Description |
|---|
| $operationStyle | array | |
|---|
ReturnsThrowsDetails- See
-



setWsdlClass(string $wsdlClass) : \Zend_Soap_AutoDiscoverSet the name of the WSDL handling class.
Parameters| Name | Type | Description |
|---|
| $wsdlClass | string | |
|---|
ReturnsThrowsDetails- See
-
- See
-