|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68891 SOAP Error when trying to submit 2nd Element of a choice
Submitted: 2015-01-23 07:42 UTC Modified: -
Avg. Score:4.3 ± 0.9
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: flydian80 at yahoo dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.5.21 OS: Windows 8.1
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-01-23 07:42 UTC] flydian80 at yahoo dot com
It relates to the Bug #50997 SOAP Error when trying to submit 2nd Element of a choice. This bug is actually not yet fixed. The current fix only fix the situation: the first child inside the <choice> parent is NOT a sequence. If the first child is a <sequence>, the bug is still there. 

Test script:
<xs:element name="User">
				<xs:element name="ID" minOccurs="0"/>
				<xs:element name="Name" />
			<xs:element name="Address"></xs:element>

[faultstring] => SOAP-ERROR: Encoding: object has no 'Name' property

Expected result:
The <sequence> child should be considered as one of the choices too.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 08:01:24 2020 UTC