Jump to content

SimpleXML & Soap


ScottBaxter

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.