#50997 [NEW]: SOAP Error when trying to submit 2nd Element of a choice
| From: | mrsharp at gmx dot de | Date: | Wed, 10 Feb 2010 18:08:41 +0000 |
| Subject: | #50997 [NEW]: SOAP Error when trying to submit 2nd Element of a choice | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-147403@lists.php.net to get a copy of this message | ||
From: mrsharp at gmx dot de
Operating system: debian
PHP version: 5.2.12
PHP Bug Type: SOAP related
Bug description: SOAP Error when trying to submit 2nd Element of a choice
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 bug report at http://bugs.php.net/?id=50997&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50997&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50997&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50997&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50997&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50997&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50997&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50997&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50997&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50997&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50997&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50997&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50997&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50997&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50997&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50997&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50997&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50997&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50997&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50997&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50997&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50997&r=mysqlcfg