[SoapWsdl] Fixed bad usage name of type included in an other ComplexType
Fixed issue #21
This commit is contained in:
parent
10705aa9e2
commit
d6752a41e9
|
@ -244,11 +244,9 @@ class Dumper
|
|||
$element->setAttribute('name', $child->getName());
|
||||
|
||||
if ($childType instanceof ComplexType) {
|
||||
$name = $child->getName();
|
||||
$name = $childType->getXmlType();
|
||||
if ($childType instanceof ArrayOfType) {
|
||||
$name = $childType->getName();
|
||||
} elseif ($type instanceof ArrayOfType && $childType instanceof ComplexType) {
|
||||
$name = $childType->getXmlType();
|
||||
}
|
||||
|
||||
$element->setAttribute('type', static::TYPES_NS.':'.$name);
|
||||
|
|
Loading…
Reference in New Issue