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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.