|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45027 __soapCall returns an object with missing fields
Submitted: 2008-05-17 02:47 UTC Modified: 2009-04-25 17:39 UTC
Avg. Score:3.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: saenz_mariano at hotmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.2CVS-2008-05-17 (CVS) OS: *
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: saenz_mariano at hotmail dot com
New email:
PHP Version: OS:


 [2008-05-17 02:47 UTC] saenz_mariano at hotmail dot com
My search __soapCall returns results information, plus an array of records.

The returned soap looks like the following.

	<ns2:record internalId="263" xsi:type="ns3:CalendarEvent" xmlns:ns3="">
		<ns3:title>EOM Company Meeting</ns3:title>
		<ns3:location>Conference Room</ns3:location>
	<ns2:record internalId="264" xsi:type="ns4:CalendarEvent" xmlns:ns4="">

recordList is returned as "Object of: stdClass"
record is an array of stdClass objects.

Here is a snapshot of what the schema looks like for the CalendarEvent record

<element name="CalendarEvent" type="actSched:CalendarEvent"/>
<complexType name="CalendarEvent">
		<extension base="platformCore:Record">
				<element name="title" type="xsd:string" minOccurs="0"/>
				<element name="noEndDate" type="xsd:boolean" minOccurs="0"/>

Expected result:
To have a way to retrieve the object's type and namespace

Actual result:
Each record, has all the fields (frequency, seriesStartDate, title, etc), but there isn't any way to get the xsi:type, in this case "CalendarEvent", or the namespace, in this case ""


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC