Skip to content

Commit a9254a7

Browse files
author
Cari Spruiell
committed
MAGETWO-53545: Incorrect WSDL List #4537
- fix how returned service names are processed
1 parent a5fa3af commit a9254a7

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Webapi/Controller

1 file changed

+1
-1
lines changed

app/code/Magento/Webapi/Controller/Soap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request)
134134
$this->_setResponseBody($responseBody);
135135
} else if ($this->_isWsdlListRequest()) {
136136
$servicesList = [];
137-
foreach (array_keys($this->_wsdlGenerator->getListOfServices()) as $serviceName) {
137+
foreach ($this->_wsdlGenerator->getListOfServices() as $serviceName) {
138138
$servicesList[$serviceName]['wsdl_endpoint'] = $this->_soapServer->getEndpointUri()
139139
. '?' . \Magento\Webapi\Model\Soap\Server::REQUEST_PARAM_WSDL . '&services=' . $serviceName;
140140
}

0 commit comments

Comments
 (0)