Class AutoDiscover

Summary

Fully Qualified Name: Zend\Soap\AutoDiscover

Description

Methods

Name Description Defined By
__construct() Constructor AutoDiscover
addFunction() Add a Single or Multiple Functions to the WSDL AutoDiscover
dump() Proxy to WSDL dump function AutoDiscover
generate() Generate the WSDL file from the configured input. AutoDiscover
getClassMap() Get the class map of php to wsdl mappings. AutoDiscover
getDiscoveryStrategy() Get the discovery strategy. AutoDiscover
getServiceName() Get service name AutoDiscover
getUri() Return the current Uri that the SOAP WSDL Service will be located at. AutoDiscover
getWsdlClass() Return the name of the WSDL handling class. AutoDiscover
handle() Handle WSDL document. AutoDiscover
setBindingStyle() Set Binding soap:binding style. AutoDiscover
setClass() Set the Class the SOAP server will use AutoDiscover
setClassMap() Set the class map of php to wsdl mappings. AutoDiscover
setComplexTypeStrategy() Set the strategy that handles functions and classes that are added AFTER this call. AutoDiscover
setDiscoveryStrategy() Set the discovery strategy for method type and other information. AutoDiscover
setOperationBodyStyle() Set options for all the binding operations soap:body elements. AutoDiscover
setServiceName() Set service name AutoDiscover
setUri() Set the location at which the WSDL file will be available. AutoDiscover
setWsdlClass() Set the name of the WSDL handling class. AutoDiscover
toXml() Proxy to WSDL toXml() function AutoDiscover

Method Details

__construct()

Constructor

Parameter Name Type Description
$strategy null|\ComplexTypeStrategy
$endpointUri null|string|\Uri\Uri
$wsdlClass null|string
$classMap null|array

Returns:

addFunction()

Add a Single or Multiple Functions to the WSDL

Parameter Name Type Description
$function string Function

Returns: self

dump()

Proxy to WSDL dump function

Parameter Name Type Description
$filename string

Returns: bool

generate()

Generate the WSDL file from the configured input.

Returns: \Wsdl

getClassMap()

Get the class map of php to wsdl mappings.

Returns: array

getDiscoveryStrategy()

Get the discovery strategy.

Returns: \DiscoveryStrategy

getServiceName()

Get service name

Returns: string

getUri()

Return the current Uri that the SOAP WSDL Service will be located at.

Returns: \Uri\Uri

getWsdlClass()

Return the name of the WSDL handling class.

Returns: string

handle()

Handle WSDL document.

Returns:

setBindingStyle()

Set Binding soap:binding style.

By default 'style' is 'rpc' and 'transport' is 'http://schemas.xmlsoap.org/soap/http'.

Parameter Name Type Description
$bindingStyle array

Returns: self

setClass()

Set the Class the SOAP server will use

Parameter Name Type Description
$class string Class

Returns: self

setClassMap()

Set the class map of php to wsdl mappings.

Parameter Name Type Description
$classMap array

Returns: self

setComplexTypeStrategy()

Set the strategy that handles functions and classes that are added AFTER this call.

Parameter Name Type Description
$strategy \ComplexTypeStrategy

Returns: self

setDiscoveryStrategy()

Set the discovery strategy for method type and other information.

Parameter Name Type Description
$discoveryStrategy \DiscoveryStrategy

Returns: self

setOperationBodyStyle()

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/".

Parameter Name Type Description
$operationStyle array

Returns: self

setServiceName()

Set service name

Parameter Name Type Description
$serviceName string

Returns: self

setUri()

Set the location at which the WSDL file will be available.

Parameter Name Type Description
$uri \Uri\Uri|string

Returns: self

setWsdlClass()

Set the name of the WSDL handling class.

Parameter Name Type Description
$wsdlClass string

Returns: self

toXml()

Proxy to WSDL toXml() function

Returns: string

Top