Skip to content

Commit 2d4099e

Browse files
author
Yuri Kovsher
committed
MAGETWO-37859: WSDL generated for any web api services has an invalid element
1 parent b866a06 commit 2d4099e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Webapi/Model/Soap/Wsdl/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ protected function addCustomAttributeTypes($wsdl)
180180
{
181181
foreach ($this->customAttributeTypeLocator->getAllServiceDataInterfaces() as $customAttributeClass) {
182182
$typeName = $this->_typeProcessor->register($customAttributeClass);
183-
$wsdl->addComplexType($typeName);
183+
$wsdl->addComplexType($this->_typeProcessor->getArrayItemType($typeName));
184184
}
185185
return $wsdl;
186186
}

0 commit comments

Comments
 (0)