/**
  * Generate URI of SOAP endpoint.
  *
  * @return string
  */
 public function getEndpointUri()
 {
     $storeCode = $this->_storeManager->getStore()->getCode() === \Magento\Store\Model\Store::ADMIN_CODE ? \Magento\Webapi\Controller\PathProcessor::ALL_STORE_CODE : $this->_storeManager->getStore()->getCode();
     return $this->_storeManager->getStore()->getBaseUrl() . $this->_areaList->getFrontName($this->_configScope->getCurrentScope()) . '/' . $storeCode;
 }
예제 #2
0
파일: Server.php 프로젝트: nja78/magento2
 /**
  * Generate URI of SOAP endpoint.
  *
  * @return string
  */
 public function getEndpointUri()
 {
     return $this->_storeManager->getStore()->getBaseUrl() . $this->_areaList->getFrontName($this->_configScope->getCurrentScope()) . '/' . $this->_storeManager->getStore()->getCode();
 }