Zend\Soap\AutoDiscover
Synopsis
class AutoDiscover
{
- // members
- protected string $serviceName;
- protected Reflection $reflection;
- protected array $functions;
- protected string $class;
- protected bool $strategy;
- protected WSDL $uri;
- protected array $operationBodyStyle;
- protected array $bindingStyle;
- protected string $wsdlClass;
- protected array $classMap;
- protected DiscoveryStrategyInterface $discoveryStrategy;
- // methods
- public void __construct()
- public self setDiscoveryStrategy()
- public DiscoveryStrategyInterface getDiscoveryStrategy()
- public array getClassMap()
- public self setClassMap()
- public self setServiceName()
- public string getServiceName()
- public self setUri()
- public Uri getUri()
- public self setWsdlClass()
- public string getWsdlClass()
- public self setOperationBodyStyle()
- public self setBindingStyle()
- public self setComplexTypeStrategy()
- public self setClass()
- public self addFunction()
- protected Wsdl _generateClass()
- protected Wsdl _generateFunctions()
- protected Wsdl _generateWsdl()
- protected void _addFunctionToWsdl()
- public Wsdl generate()
- public bool dump()
- public string toXml()
- public void handle()
Members
protected
- $bindingStyle
—
array
soap:operation style - $class
—
string
Service class name - $classMap
—
array
Class Map of PHP to WSDL types. - $discoveryStrategy
—
Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface
Discovery strategy for types and other method details. - $functions
—
array
Service function names - $operationBodyStyle
—
array
soap:body operation style options - $reflection — Zend\Server\Reflection
- $serviceName — string
- $strategy — Zend\Soap\bool
- $uri
—
Zend\Soap\WSDL
Url where the WSDL file will be available at. - $wsdlClass
—
string
Name of the class to handle the WSDL creation.
Methods
protected
- _addFunctionToWsdl() — Add a function to the WSDL document.
- _generateClass() — Generate the WSDL for a service class.
- _generateFunctions() — Generate the WSDL for a set of functions.
- _generateWsdl() — Generate the WSDL for a set of reflection method instances.
public
- __construct() — Constructor
- addFunction() — Add a Single or Multiple Functions to the WSDL
- dump() — Proxy to WSDL dump function
- generate() — Generate the WSDL file from the configured input.
- getClassMap() — Get the class map of php to wsdl mappings.
- getDiscoveryStrategy() — Get the discovery strategy.
- getServiceName() — Get service name
- getUri() — Return the current Uri that the SOAP WSDL Service will be located at.
- getWsdlClass() — Return the name of the WSDL handling class.
- handle() — Handle WSDL document.
- setBindingStyle() — Set Binding soap:binding style.
- setClass() — Set the Class the SOAP server will use
- setClassMap() — Set the class map of php to wsdl mappings.
- setComplexTypeStrategy() — Set the strategy that handles functions and classes that are added AFTER this call.
- setDiscoveryStrategy() — Set the discovery strategy for method type and other information.
- setOperationBodyStyle() — Set options for all the binding operations soap:body elements.
- setServiceName() — Set service name
- setUri() — Set the location at which the WSDL file will be available.
- setWsdlClass() — Set the name of the WSDL handling class.
- toXml() — Proxy to WSDL toXml() function