converting SOAP XML response to a PHP object or array

DivCW

New Member
I'm using cURL to send an request to a SOAP service, I send in POST Body the XML containing parameters, in response I receive:Web service: http://lcbtestxmlv2.ivector.co.uk/soap/book.asmx?WSDL\[code\]<?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:Body> <SearchResponse xmlns="http://ivectorbookingxml/"> <SearchResult> <ReturnStatus> <Success>true</Success> <Exception /> </ReturnStatus> <SearchURL>http://www.lowcostholidays.fr/dl.aspx?p=0,8,5,0&date=10/05/2013&duration=15&room1=2,1,0_5&regionid=9</SearchURL> <PropertyResults> <PropertyResult> <TotalProperties>215</TotalProperties> <PropertyID>1795</PropertyID> <PropertyName>Hotel Gaddis</PropertyName> <Rating>3.0</Rating> <Country>Egypte</Country> <Resort>Louxor</Resort> <Strapline>Cet
 
Back
Top