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.
Zend_Soap_AutoDiscover
array $_bindingStyle = 'array'
soap:operation style
array $_functions = 'array'
array $_operationBodyStyle = 'array'
soap:body operation style options
Zend_Server_Reflection $_reflection = 'null'
boolean $_strategy = ''
WSDL $_uri = ''
Url where the WSDL file will be available at.
Zend_Soap_Wsdl $_wsdl = 'null'
__construct(
boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy
=
true, string|Zend_Uri $uri
=
null
)
:
Constructor
_addFunctionToWsdl(
$function $function, $wsdl $wsdl, $port $port, $binding $binding
)
:
void
Add a function to the WSDL document.
addFunction(
string $function, string $namespace
)
:
Zend_Soap_AutoDiscover
Add a Single or Multiple Functions to the WSDL
dump(
string $filename
)
:
boolean
Proxy to WSDL dump function
fault(
string $fault
=
null, string|int $code
=
null
)
:
Action to take when an error occurs
getFunctions(
)
:
array
Return an array of functions in the WSDL
getHostName(
)
:
string
Detect and return the current hostname
getRequestUriWithoutParameters(
)
:
string
Detect and return the current script name without parameters
getSchema(
)
:
string
Detect and returns the current HTTP/HTTPS Schema
getType(
string $type
)
:
string
Returns an XSD Type for the given PHP type
getUri(
)
:
Zend_Uri
Return the current Uri that the SOAP WSDL Service will be located at.
handle(
string $request
=
false
)
:
Handle the Request
loadFunctions(
unknown_type $definition
)
:
Load Functions
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'.
setClass(
string $class, string $namespace, array $argv
=
null
)
:
Zend_Soap_AutoDiscover
Set the Class the SOAP server will use
setComplexTypeStrategy(
boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy
)
:
Zend_Soap_AutoDiscover
Set the strategy that handles functions and classes that are added AFTER this call.
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/".
setPersistence(
int $mode
)
:
Set Persistance
setUri(
Zend_Uri|string $uri
)
:
Zend_Soap_AutoDiscover
Set the location at which the WSDL file will be availabe.
toXml(
)
:
string
Proxy to WSDL toXml() function