|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: flydian80 at yahoo dot com
New email:
PHP Version: OS:


 [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: Mon Jan 20 23:01:25 2020 UTC