Showing results for 
Search instead for 
Did you mean: 

Getting Invalid XML in Response

Getting Invalid XML in Response


I am getting a weird issue in Magento XML response from SOAP call. 

I am using Magento 1.8.1. When I get the list of customers via customerCustomerList call then I get the following invalid XML. See below:
This behavior is random, sometime it seems that invalid XML is due to password hash and some this some like below:



<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<soapenv:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soapenv="" xmlns:urn="urn:Magento" xmlns:soapenc="">
<urn:customerCustomerList soapenv:encodingStyle="">
<sessionId xmlns:xs="" xsi:type="xsd:string" xs:type="type:string">5bff6fb17eba1277154ec09885b45746</sessionId>
<filters xmlns:xs="" xsi:type="urn:filters" xs:type="type:filters">
<key xs:type="type:string">email</key>
<value xs:type="type:string"></value>


<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlnsSmiley FrustratedOAP-ENV="" xmlns:ns1="urn:Magento" xmlnsSmiley FrustratedOAP-ENC="" xmlns:xsd="" xmlns:xsi="" SOAP-ENV:encodingStyle="">
<storeView SOAP-ENC:arrayType="ns1:customerCustomerEntity[1]" xsi:type="ns1:customerCustomerEntityArray">
<item xsi:type="ns1:customerCustomerEntity">
<customer_id xsi:type="xsd:int">321</customer_id>
<created_at xsi:type="xsd:string">2015-02-24 12:16:11</created_at>
<updated_at xsi:type="xsd:string">2015-03-11 12:14:15</updated_at>
<store_id xsi:type="xsd:int">1</store_id>
<website_id xsi:type="xsd:int">1</website_id>
<created_in xsi:type="xsd:string">Default Store View</created_in>
<email xsi:type="xsd:string"></email>
<firstname xsi:type="xsd:string">Zeeshan</firstname>
<lastname xsi:type="xsd:string">Ahmed</lastname>
<group_id xsi:type="xsd:int">0</group_id>
</p_id xsi:type="xsd:int">0
<ns1:c/ENV:Envelope xmln

If anyone has ever faced this issue. Please let me know how to get rid of this.
Special thanks in advance.


Re: Getting Invalid XML in Response

Hi @zahmed_f3


Have you applied Magento patch SUPEE-6482 Patch Bundle.

Check this


I am not sure why its happening for you.But you can got through the link for more information. 


Problem Solved Click Accept as Solution!:Magento Community India Forum