#50997 [Opn]: SOAP Error when trying to submit 2nd Element of a choice
| From: | mrsharp at gmx dot de | Date: | Thu, 11 Feb 2010 10:22:37 +0000 |
| Subject: | #50997 [Opn]: SOAP Error when trying to submit 2nd Element of a choice | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147426@lists.php.net to get a copy of this message | ||
ID: 50997
User updated by: mrsharp at gmx dot de
Reported By: mrsharp at gmx dot de
Status: Open
Bug Type: SOAP related
Operating System: debian
PHP Version: 5.2.12
New Comment:
Tested also using PHP Version 5.2.5-3 same result....
Previous Comments:
------------------------------------------------------------------------
[2010-02-10 18:08:41] mrsharp at gmx dot de
Description:
------------
My Actual PHP Version: PHP Version 5.2.11-0.dotdeb.0
not 100% sure if this relates to Bug #43723: "SOAP not sent properly
from client for <choice>" because SOAP is not sent at all in my scenario
(Fatal Error)
Part of my WSDL is this schema excerpt
<xsd:complexType name="sometype">
<xsd:choice>
<xsd:group ref="sd:someGroupDefA"/>
<xsd:group ref="sd:someGroupDefB"/>
</xsd:choice> ....
A SOAP operation now employs this type... if I attempt to submit a
property set which resembles "someGroupDefB" I receive a
SOAP-ERROR: Encoding: object hasn't someGroupDefA property
so it seems that choice is not properly evalutated...
Expected result:
----------------
I expect that SOAP accepts both sets of parameters without complaining
about the other missing...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50997&edit=1