-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for development
Description
Steps to reproduce
- Install Magento from
2.0
branch (2.0.3 version) - bin/magento deploy:mode:set production
- bin/magento setup:di:compile
- Send SOAP request
Expected result
See expected-result.png in the attachment
Actual result
See actual-result.png in the attachment
Details
See line
$soapServer = $this->_objectManager->create('SoapServer', ['wsdl' => $url, 'options' => $options]);
It gives fatal error because object manager config Magento\Framework\ObjectManager\Config\Compiled pass invalid arguments to SoapServer class.
It works normally if instantiate SoapServer without object manager e.g.
$soapServer = new \SoapServer($url, $options);
Also following will work (pass arguments without keys):
$soapServer = $this->_objectManager->create('SoapServer', [$url, $options]);
Metadata
Metadata
Assignees
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for development