/** * Get SOAP endpoint URL. * * @param bool $isWsdl * @return string */ public function generateUri($isWsdl = false) { $params = [self::REQUEST_PARAM_SERVICES => $this->_request->getParam(self::REQUEST_PARAM_SERVICES)]; if ($isWsdl) { $params[self::REQUEST_PARAM_WSDL] = true; } $query = http_build_query($params, '', '&'); return $this->getEndpointUri() . '?' . $query; }
/** * Check if current request is WSDL request. SOAP operation execution request is another type of requests. * * @return bool */ protected function _isWsdlListRequest() { return $this->_request->getParam(\Magento\Webapi\Model\Soap\Server::REQUEST_PARAM_LIST_WSDL) !== null; }