Skip to content

Commit a0a7c49

Browse files
committed
MAGETWO-44060: [GITHUB] Soap API Fails once DI is compiled #2033
1 parent 54d4e70 commit a0a7c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Webapi/Model/Soap/ServerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(
4242
*/
4343
public function create($url, $options)
4444
{
45-
$soapServer = $this->_objectManager->create('SoapServer', ['wsdl' => $url, 'options' => $options]);
45+
$soapServer = new \SoapServer($url, $options);
4646
$soapServer->setObject($this->_soapHandler);
4747
return $soapServer;
4848
}

0 commit comments

Comments
 (0)