Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Request $request, \Magento\Framework\Webapi\Response $response, \Magento\Webapi\Model\Soap\Wsdl\Generator $wsdlGenerator, \Magento\Webapi\Model\Soap\Server $soapServer, ErrorProcessor $errorProcessor, \Magento\Framework\App\State $appState, \Magento\Framework\Locale\ResolverInterface $localeResolver, PathProcessor $pathProcessor, \Magento\Framework\Webapi\Rest\Response\RendererFactory $rendererFactory, \Magento\Framework\App\AreaList $areaList) | |
dispatch (\Magento\Framework\App\RequestInterface $request) | |
![]() | |
dispatch (RequestInterface $request) | |
Data Fields | |
const | CONTENT_TYPE_SOAP_CALL = 'application/soap+xml' |
const | CONTENT_TYPE_WSDL_REQUEST = 'text/xml' |
Protected Member Functions | |
_isWsdlRequest () | |
_isWsdlListRequest () | |
_prepareErrorResponse ($exception) | |
_setResponseContentType ($contentType='text/xml') | |
_setResponseBody ($responseBody) | |
validateWsdlRequest () | |
Protected Attributes | |
$_soapServer | |
$_wsdlGenerator | |
$_request | |
$_response | |
$_errorProcessor | |
$_appState | |
$_localeResolver | |
$_pathProcessor | |
$areaList | |
$rendererFactory | |
SOAP Web API entry point.
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
__construct | ( | Request | $request, |
\Magento\Framework\Webapi\Response | $response, | ||
\Magento\Webapi\Model\Soap\Wsdl\Generator | $wsdlGenerator, | ||
\Magento\Webapi\Model\Soap\Server | $soapServer, | ||
ErrorProcessor | $errorProcessor, | ||
\Magento\Framework\App\State | $appState, | ||
\Magento\Framework\Locale\ResolverInterface | $localeResolver, | ||
PathProcessor | $pathProcessor, | ||
\Magento\Framework\Webapi\Rest\Response\RendererFactory | $rendererFactory, | ||
\Magento\Framework\App\AreaList | $areaList | ||
) |
Request | $request | |
Response | $response | |
\Magento\Webapi\Model\Soap\Wsdl\Generator | $wsdlGenerator | |
\Magento\Webapi\Model\Soap\Server | $soapServer | |
ErrorProcessor | $errorProcessor | |
\Magento\Framework\App\State | $appState | |
\Magento\Framework\Locale\ResolverInterface | $localeResolver | |
PathProcessor | $pathProcessor | |
\Magento\Framework\Webapi\Rest\Response\RendererFactory | $rendererFactory | |
\Magento\Framework\App\AreaList | $areaList | @SuppressWarnings(PHPMD.ExcessiveParameterList) |
Definition at line 92 of file Soap.php.
|
protected |
|
protected |
|
protected |
Set body and status code to response using information extracted from provided exception.
\Exception | $exception |
Definition at line 182 of file Soap.php.
|
protected |
Replace WSDL xml encoding from config, if present, else default to UTF-8 and set it to the response object.
string | $responseBody |
|
protected |
dispatch | ( | \Magento\Framework\App\RequestInterface | $request | ) |
Dispatch SOAP request.
\Magento\Framework\App\RequestInterface | $request |
Definition at line 122 of file Soap.php.
|
protected |
Validate wsdl request
Definition at line 243 of file Soap.php.
const CONTENT_TYPE_SOAP_CALL = 'application/soap+xml' |