10-31-2012 11:49 AM
Hi All,
I am getting an xml like this,
<?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><GetHotelDetailsXMLResponse xmlns="http://tempuri.org/"><GetHotelDetailsXMLResult><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:getHotelDetailsXMLResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:HotelSearchBookkEngine"><getHotelDetailsXMLReturn xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns=""><?xml version="1.0" encoding="UTF-8"?> .............
this document have xml definitions two times, and i am getting that error,
Any solution for this....
Thanks.
Solved! Go to Solution.
10-31-2012 11:55 AM
11-01-2012 02:02 AM
Thanks for your reply simon,
I just replaced the definitions with empty string and now it is working fine.
Thanks.