Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($strategy=true, $uri=null, $wsdlClass=null) | |
setUri ($uri) | |
getUri () | |
setWsdlClass ($wsdlClass) | |
getWsdlClass () | |
setOperationBodyStyle (array $operationStyle=array()) | |
setBindingStyle (array $bindingStyle=array()) | |
setComplexTypeStrategy ($strategy) | |
setClass ($class, $namespace='', $argv=null) | |
addFunction ($function, $namespace='') | |
fault ($fault=null, $code=null) | |
handle ($request=false) | |
dump ($filename) | |
toXml () | |
getFunctions () | |
loadFunctions ($definition) | |
setPersistence ($mode) | |
getType ($type) | |
Protected Member Functions | |
getSchema () | |
getHostName () | |
getRequestUriWithoutParameters () | |
_addFunctionToWsdl ($function, $wsdl, $port, $binding) | |
Protected Attributes | |
$_wsdl = null | |
$_reflection = null | |
$_functions = array() | |
$_strategy | |
$_uri | |
$_operationBodyStyle = array('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/") | |
$_bindingStyle = array('style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http') | |
$_wsdlClass = 'Zend_Soap_Wsdl' | |
Definition at line 51 of file AutoDiscover.php.
__construct | ( | $strategy = true , |
|
$uri = null , |
|||
$wsdlClass = null |
|||
) |
Constructor
boolean | string | Zend_Soap_Wsdl_Strategy_Interface | $strategy | |
string | Zend_Uri | $uri | |
string | $wsdlClass |
Definition at line 108 of file AutoDiscover.php.
|
protected |
Add a function to the WSDL document.
Zend_Server_Reflection_Function_Abstract | $function | function to add |
Zend_Soap_Wsdl | $wsdl | WSDL document |
object | $port | wsdl:portType |
object | $binding | wsdl:binding |
Definition at line 389 of file AutoDiscover.php.
addFunction | ( | $function, | |
$namespace = '' |
|||
) |
Add a Single or Multiple Functions to the WSDL
string | $function | Function Name |
string | $namespace | Function namespace - Not Used |
Implements Zend_Server_Interface.
Definition at line 342 of file AutoDiscover.php.
dump | ( | $filename | ) |
Proxy to WSDL dump function
string | $filename |
Zend_Soap_AutoDiscover_Exception |
Definition at line 528 of file AutoDiscover.php.
fault | ( | $fault = null , |
|
$code = null |
|||
) |
Action to take when an error occurs
string | $fault | |
string | int | $code |
Zend_Soap_AutoDiscover_Exception |
Implements Zend_Server_Interface.
Definition at line 502 of file AutoDiscover.php.
getFunctions | ( | ) |
Return an array of functions in the WSDL
Implements Zend_Server_Interface.
Definition at line 565 of file AutoDiscover.php.
|
protected |
Detect and return the current hostname
Definition at line 254 of file AutoDiscover.php.
|
protected |
Detect and return the current script name without parameters
Definition at line 269 of file AutoDiscover.php.
|
protected |
Detect and returns the current HTTP/HTTPS Schema
Definition at line 240 of file AutoDiscover.php.
getType | ( | $type | ) |
Returns an XSD Type for the given PHP type
string | $type | PHP Type to get the XSD type for |
Definition at line 600 of file AutoDiscover.php.
getUri | ( | ) |
Return the current Uri that the SOAP WSDL Service will be located at.
Definition at line 151 of file AutoDiscover.php.
getWsdlClass | ( | ) |
Return the name of the WSDL handling class.
Definition at line 190 of file AutoDiscover.php.
handle | ( | $request = false | ) |
Handle the Request
string | $request | A non-standard request - Not Used |
Implements Zend_Server_Interface.
Definition at line 513 of file AutoDiscover.php.
loadFunctions | ( | $definition | ) |
Load Functions
unknown_type | $definition |
Zend_Soap_AutoDiscover_Exception |
Implements Zend_Server_Interface.
Definition at line 576 of file AutoDiscover.php.
setBindingStyle | ( | array | $bindingStyle = array() | ) |
Set Binding soap:binding style.
By default 'style' is 'rpc' and 'transport' is 'http://schemas.xmlsoap.org/soap/http'.
array | $bindingStyle |
Definition at line 224 of file AutoDiscover.php.
setClass | ( | $class, | |
$namespace = '' , |
|||
$argv = null |
|||
) |
Set the Class the SOAP server will use
string | $class | Class Name |
string | $namespace | Class Namspace - Not Used |
array | $argv | Arguments to instantiate the class - Not Used |
Implements Zend_Server_Interface.
Definition at line 313 of file AutoDiscover.php.
setComplexTypeStrategy | ( | $strategy | ) |
Set the strategy that handles functions and classes that are added AFTER this call.
boolean | string | Zend_Soap_Wsdl_Strategy_Interface | $strategy |
Definition at line 295 of file AutoDiscover.php.
setOperationBodyStyle | ( | array | $operationStyle = array() | ) |
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 |
Zend_Soap_AutoDiscover_Exception |
Definition at line 206 of file AutoDiscover.php.
setPersistence | ( | $mode | ) |
Set Persistance
int | $mode |
Zend_Soap_AutoDiscover_Exception |
Implements Zend_Server_Interface.
Definition at line 588 of file AutoDiscover.php.
setUri | ( | $uri | ) |
Set the location at which the WSDL file will be availabe.
Zend_Uri | string | $uri |
Zend_Soap_AutoDiscover_Exception |
Definition at line 130 of file AutoDiscover.php.
setWsdlClass | ( | $wsdlClass | ) |
Set the name of the WSDL handling class.
string | $wsdlClass |
Zend_Soap_AutoDiscover_Exception |
Definition at line 174 of file AutoDiscover.php.
toXml | ( | ) |
Proxy to WSDL toXml() function
Zend_Soap_AutoDiscover_Exception |
Definition at line 547 of file AutoDiscover.php.
|
protected |
Definition at line 92 of file AutoDiscover.php.
|
protected |
Definition at line 66 of file AutoDiscover.php.
|
protected |
Definition at line 85 of file AutoDiscover.php.
|
protected |
Definition at line 61 of file AutoDiscover.php.
|
protected |
Definition at line 71 of file AutoDiscover.php.
|
protected |
Definition at line 78 of file AutoDiscover.php.
|
protected |
Definition at line 56 of file AutoDiscover.php.
|
protected |
Definition at line 99 of file AutoDiscover.php.