1742. Class

1742.1. Zend\Soap\AutoDiscover

ZendSoapAutoDiscover

1742.1.1. Methods

1742.1.1.1. __construct

__construct()

Constructor

Parameters:
  • ComplexTypeStrategy
  • string|UriUri
  • string
  • array

1742.1.1.2. setDiscoveryStrategy

setDiscoveryStrategy()

Set the discovery strategy for method type and other information.

Parameters:DiscoveryStrategy
Return type:AutoDiscover

1742.1.1.3. getDiscoveryStrategy

getDiscoveryStrategy()

@return DiscoveryStrategy

1742.1.1.4. getClassMap

getClassMap()

Get the class map of php to wsdl qname types.

Return type:array

1742.1.1.5. setClassMap

setClassMap()

Set the class map of php to wsdl qname types.

1742.1.1.6. setServiceName

setServiceName()

Set service name

Parameters:string
Return type:AutoDiscover

1742.1.1.7. getServiceName

getServiceName()

Get service name

Return type:string
Throws :ExceptionRuntimeException

1742.1.1.8. setUri

setUri()

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

Parameters:UriUri|string
Return type:AutoDiscover
Throws :ExceptionInvalidArgumentException

1742.1.1.9. getUri

getUri()

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

Return type:UriUri
Throws :ExceptionRuntimeException

1742.1.1.10. setWsdlClass

setWsdlClass()

Set the name of the WSDL handling class.

Parameters:string
Return type:AutoDiscover
Throws :ExceptionInvalidArgumentException

1742.1.1.11. getWsdlClass

getWsdlClass()

Return the name of the WSDL handling class.

Return type:string

1742.1.1.12. setOperationBodyStyle

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

Parameters:array
Return type:AutoDiscover
Throws :ExceptionInvalidArgumentException

1742.1.1.13. setBindingStyle

setBindingStyle()

Set Binding soap:binding style.

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

Parameters:array
Return type:AutoDiscover

1742.1.1.14. setComplexTypeStrategy

setComplexTypeStrategy()

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

Parameters:ComplexTypeStrategy
Return type:AutoDiscover

1742.1.1.15. setClass

setClass()

Set the Class the SOAP server will use

Parameters:string – Class Name
Return type:AutoDiscover

1742.1.1.16. addFunction

addFunction()

Add a Single or Multiple Functions to the WSDL

Parameters:string – Function Name
Return type:AutoDiscover

1742.1.1.17. _generateClass

_generateClass()

Generate the WSDL for a service class.

Return type:Wsdl

1742.1.1.18. _generateFunctions

_generateFunctions()

Generate the WSDL for a set of functions.

Return type:Wsdl

1742.1.1.19. _generateWsdl

_generateWsdl()

Generate the WSDL for a set of reflection method instances.

Parameters:array
Return type:Wsdl

1742.1.1.20. _addFunctionToWsdl

_addFunctionToWsdl()

Add a function to the WSDL document.

Parameters:
  • $function – function to add
  • $wsdl – WSDL document
  • $port – wsdl:portType
  • $binding – wsdl:binding
Throws ExceptionInvalidArgumentException:
 
Return type:

void

1742.1.1.21. generate

generate()

Generate the WSDL file from the configured input.

Return type:Wsdl

1742.1.1.22. dump

dump()

Proxy to WSDL dump function

Parameters:string
Return type:bool
Throws :ZendSoapExceptionRuntimeException

1742.1.1.23. toXml

toXml()

Proxy to WSDL toXml() function

Return type:string
Throws :ZendSoapExceptionRuntimeException

1742.1.1.24. handle

handle()

Handle WSDL document.