Missing element in SOAP response object

From: Date: Mon, 18 Oct 2004 19:51:19 +0000
Subject: Missing element in SOAP response object
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14961@lists.php.net to get a copy of this message
Hi, I have a PEAR:SOAP client to call a SOAP sever to get an object. After receiving the object, I found that there is an attribute missing. Here is actual trace info and returned object dump. In there you can see that there are two outgTraceEntries entries in the trace. But in the object, there is only one (outg entry 2). For incoTraceEntries, it looks right, there are two entries in the object. Any idea why? Thanks! Song INCOMING HTTP/1.1 200 OK Server: gSOAP/2.6 Content-Type: text/xml; charset=utf-8 Content-Length: 2129 Connection: close <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:MailGate="urn:MailGate"> <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" id="_0"> <SoapMessageTraceLog> <incoTraceEntries xsi:type="xsd:string"> inco entry 1 </incoTraceEntries> <incoTraceEntries xsi:type="xsd:string"> inco entry 2 </incoTraceEntries> <outgTraceEntries xsi:type="xsd:string"> outg entry 1 </outgTraceEntries> <outgTraceEntries xsi:type="xsd:string"> outg entry 2 </outgTraceEntries> </SoapMessageTraceLog> </SOAP-ENV:Body> </SOAP-ENV:Envelope></pre> Returned object: Array ( [incoTraceEntries] => Array ( [0] => inco entry 1 [1] => inco entry 2 ) [outgTraceEntries] => outg entry 2 ) Thanks. Song

« previous php.pear.general (#14961) next »