ScottBaxter Posted March 13, 2013 Share Posted March 13, 2013 Hi Guys, I'm loading a soap xml element into SimpleXML and I'm getting the following errors: Warning: SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: namespace warning : This is the xml response that I'm getting: <?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><VehicleSearchResponse xmlns="AA"><VehicleSearchResult ClassVersion="1.0"><Status><Code></Code><Desc /></Status><VehicleCount>1</VehicleCount><Vehicle><RegNo></RegNo><Make></Make><RegDate></RegDate><Derivative /><Model> JTD</Model><ModelID></ModelID><EngineSize></EngineSize><Colour></Colour><VinNo></VinNo><ClockType></ClockType><FuelType /><TransType></TransType><AssetID></AssetID><LinkedAssetID /><SystemID></SystemID><SchemeRef></SchemeRef><VehicleType></VehicleType><DriverCSIRequired></DriverCSIRequired></Vehicle></VehicleSearchResult></VehicleSearchResponse></soap:Body></soap:Envelope> Can anyone shed any light on this issue? Thanks Link to comment https://forums.phpfreaks.com/topic/275594-simplexml-soap/ Share on other sites More sharing options...
ScottBaxter Posted March 13, 2013 Author Share Posted March 13, 2013 Can anyone help me out on this? Link to comment https://forums.phpfreaks.com/topic/275594-simplexml-soap/#findComment-1418343 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.