Skip to content

Commit 3829771

Browse files
author
Eugene Tulika
committed
MAGETWO-38070: Incorrect WSDL generation
- disabled representation of wsdl as a nice xml
1 parent 8842635 commit 3829771

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ protected function _generate($requestedServices, $endPointUrl)
167167
$wsdl->addSoapOperation($bindingOperation, $operationName, SOAP_1_2);
168168
}
169169
}
170-
$dom = $wsdl->toDomDocument();
171-
$dom->formatOutput = true;
172-
return $dom->saveXML();
170+
return $wsdl->toXML();
173171
}
174172

175173
/**

0 commit comments

Comments
 (0)