[SoapBundle] Fixed usage of bad key in ComplexType strategy
Fix issue #5
This commit is contained in:
parent
bef19356d6
commit
71d84eddb7
@ -98,7 +98,7 @@ class RpcLiteralRequestMessageBinder implements MessageBinderInterface
|
||||
$this->messageRefs[$hash] = $message;
|
||||
|
||||
$messageBinder = new MessageBinder($message);
|
||||
foreach ($this->definitionComplexTypes[$phpType] as $type) {
|
||||
foreach ($this->definitionComplexTypes[$phpType]['properties'] as $type) {
|
||||
$property = $type->getName();
|
||||
$value = $messageBinder->readProperty($property);
|
||||
|
||||
|
@ -83,7 +83,7 @@ class RpcLiteralResponseMessageBinder implements MessageBinderInterface
|
||||
}
|
||||
|
||||
$messageBinder = new MessageBinder($message);
|
||||
foreach ($this->definitionComplexTypes[$phpType] as $type) {
|
||||
foreach ($this->definitionComplexTypes[$phpType]['properties'] as $type) {
|
||||
$property = $type->getName();
|
||||
$value = $messageBinder->readProperty($property);
|
||||
|
||||
|
@ -84,6 +84,6 @@ class ComplexType extends AbstractComplexTypeStrategy
|
||||
$complexType->appendChild($all);
|
||||
$this->getContext()->getSchema()->appendChild($complexType);
|
||||
|
||||
$this->definition->addDefinitionComplexType($type, $definitionComplexType);
|
||||
$this->definition->addDefinitionComplexType($classname, $definitionComplexType);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user