[SOAP] Parsing results
| From: | Matteo Giacomazzi | Date: | Fri, 23 Jan 2004 09:03:34 +0000 |
| Subject: | [SOAP] Parsing results | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10306@lists.php.net to get a copy of this message | ||
Hi,
the following response message is parsed by PEAR::SOAP as an array
of 16 empty strings: why?
Could anybody suggest me where should I look in PEAR::SOAP code in
order to resolve this problem?
Many thanks in advance!
INCOMING
HTTP/1.1 200 OK
Connection: close
Date: Fri, 23 Jan 2004 08:58:02 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 1289
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<wsu:Timestamp xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
<wsu:Created>2004-01-23T08:58:02Z</wsu:Created>
<wsu:Expires>2004-01-23T09:03:02Z</wsu:Expires>
</wsu:Timestamp>
</soap:Header>
<soap:Body>
<GetAllAirportsResponse xmlns="urn:http://ws.rciholidaynetwork.co.uk/BookingEngine/BookingEngine">
<airports>
<airport code="ACE" name="Arrecife" />
<airport code="CUN" name="Cancun International" />
<airport code="DAB" name="Daytona Beach" />
<airport code="DAB" name="Daytona Beach" />
<airport code="FTL" name="Fort Lauderdate" />
<airport code="FUE" name="Fuerteventura" />
<airport code="LPA" name="Las Palmas International" />
<airport code="TFN" name="Los Rodeos" />
<airport code="AGP" name="Malaga" />
<airport code="MIA" name="Miami" />
<airport code="MCO" name="Orlando International" />
<airport code="TFS" name="Reina Sofia" />
<airport code="SFB" name="Sanford" />
<airport code="SRQ" name="Sarasota" />
<airport code="PIE" name="St Petersburg/Clearwater Int'l" />
<airport code="TPA" name="Tampa" />
</airports>
</GetAllAirportsResponse>
</soap:Body>
</soap:Envelope>
Kind regards,
Matteo