I am using NuSoap for webservice. In response i am getting xml with namespace something like :
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<Action xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none" s:mustUnderstand="1">ABC.CS.Ia.Cts.Ees.Au/IAuth/A</Action>
</s:Header>
<s:Body>
<A xmlns="ABC.CS.Ia.Cts.Ees.Au">
<Au xmlns:d1="ABC.CS.Ia.Cts.Ees.Au" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<d1:Res>Q1</d1:Res>
<d1:n>jFn</d1:n>
</Au>
</A>
</s:Body>
</s:Envelope>
$xml_feed = simplexml_load_string($xmlString);
Now i want to parse it. I have used simplexml_load_string function but getting warning and nothing returned by the function.
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 7: parser warning : xmlns: URI BC.CS.Ia.Cts.Ees.Au is not absolute in C:\xampp\htdocs\test.php on line 38 Warning: simplexml_load_string() [function.simplexml-load-string]: in C:\xampp\htdocs\test.php on line 38 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\xampp\htdocs\test.php on line 38
Please help me if any one have know..
-itin