Zend Framework
3.0
|
Public Member Functions | |
__construct (ComplexTypeStrategy $strategy=null, $endpointUri=null, $wsdlClass=null, array $classMap=[]) | |
Constructor. | |
setDiscoveryStrategy (DiscoveryStrategy $discoveryStrategy) | |
Set the discovery strategy for method type and other information. | |
getDiscoveryStrategy () | |
Get the discovery strategy. | |
getClassMap () | |
Get the class map of php to wsdl mappings. | |
setClassMap ($classMap) | |
Set the class map of php to wsdl mappings. | |
setServiceName ($serviceName) | |
Set service name. | |
getServiceName () | |
Get service name. | |
setUri ($uri) | |
Set the location at which the WSDL file will be available. | |
getUri () | |
Return the current Uri that the SOAP WSDL Service will be located at. | |
setWsdlClass ($wsdlClass) | |
Set the name of the WSDL handling class. | |
getWsdlClass () | |
Return the name of the WSDL handling class. | |
setOperationBodyStyle (array $operationStyle=[]) | |
Set options for all the binding operations soap:body elements. | |
setBindingStyle (array $bindingStyle=[]) | |
Set Binding soap:binding style. | |
setComplexTypeStrategy (ComplexTypeStrategy $strategy) | |
Set the strategy that handles functions and classes that are added AFTER this call. | |
setClass ($class) | |
Set the Class the SOAP server will use. | |
addFunction ($function) | |
Add a Single or Multiple Functions to the WSDL. | |
generate () | |
Generate the WSDL file from the configured input. | |
dump ($filename) | |
Proxy to WSDL dump function. | |
toXml () | |
Proxy to WSDL toXml() function. | |
handle () | |
Handle WSDL document. | |
Protected Member Functions | |
generateClass () | |
Generate the WSDL for a service class. | |
generateFunctions () | |
Generate the WSDL for a set of functions. | |
generateWsdl (array $reflectionMethods) | |
Generate the WSDL for a set of reflection method instances. | |
addFunctionToWsdl ($function, $wsdl, $port, $binding) | |
Add a function to the WSDL document. | |
Protected Attributes | |
$serviceName | |
$reflection = null | |
$functions = [] | |
$class | |
$strategy | |
$uri | |
$operationBodyStyle | |
$bindingStyle | |
$wsdlClass = 'Zend\Soap\Wsdl' | |
$classMap = [] | |
$discoveryStrategy | |
__construct | ( | ComplexTypeStrategy | $strategy = null , |
$endpointUri = null , |
|||
$wsdlClass = null , |
|||
array | $classMap = [] |
||
) |
Constructor.
null | ComplexTypeStrategy | $strategy | |
null | string | Uri\Uri | $endpointUri | |
null | string | $wsdlClass | |
null | array | $classMap |
addFunction | ( | $function | ) |
Add a Single or Multiple Functions to the WSDL.
string | $function | Function Name |
Exception\InvalidArgumentException |
|
protected |
Add a function to the WSDL document.
$function | Reflection function to add |
$wsdl | Wsdl WSDL document |
$port | wsdl:portType |
$binding | wsdl:binding |
Exception\InvalidArgumentException |
dump | ( | $filename | ) |
Proxy to WSDL dump function.
string | $filename |
Exception\RuntimeException |
generate | ( | ) |
|
protected |
Generate the WSDL for a service class.
|
protected |
Generate the WSDL for a set of functions.
|
protected |
Generate the WSDL for a set of reflection method instances.
array | $reflectionMethods |
getClassMap | ( | ) |
Get the class map of php to wsdl mappings.
getDiscoveryStrategy | ( | ) |
Get the discovery strategy.
getServiceName | ( | ) |
Get service name.
Exception\RuntimeException |
getUri | ( | ) |
getWsdlClass | ( | ) |
Return the name of the WSDL handling class.
handle | ( | ) |
Handle WSDL document.
setBindingStyle | ( | array | $bindingStyle = [] | ) |
Set Binding soap:binding style.
By default 'style' is 'rpc' and 'transport' is 'http://schemas.xmlsoap.org/soap/http'.
array | $bindingStyle |
setClass | ( | $class | ) |
Set the Class the SOAP server will use.
string | $class | Class Name |
setClassMap | ( | $classMap | ) |
Set the class map of php to wsdl mappings.
array | $classMap |
Exception\InvalidArgumentException |
setComplexTypeStrategy | ( | ComplexTypeStrategy | $strategy | ) |
Set the strategy that handles functions and classes that are added AFTER this call.
ComplexTypeStrategy | $strategy |
setDiscoveryStrategy | ( | DiscoveryStrategy | $discoveryStrategy | ) |
Set the discovery strategy for method type and other information.
DiscoveryStrategy | $discoveryStrategy |
setOperationBodyStyle | ( | array | $operationStyle = [] | ) |
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/".
array | $operationStyle |
Exception\InvalidArgumentException |
setServiceName | ( | $serviceName | ) |
Set service name.
string | $serviceName |
Exception\InvalidArgumentException |
setUri | ( | $uri | ) |
Set the location at which the WSDL file will be available.
Uri\Uri | string | $uri |
Exception\InvalidArgumentException |
setWsdlClass | ( | $wsdlClass | ) |
Set the name of the WSDL handling class.
string | $wsdlClass |
Exception\InvalidArgumentException |
toXml | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |