magento - Getting Invalid XML in Customer List SOAP Response -


i getting weird issue in magento xml response soap call. using magento 1.8.1. when list of customers via customercustomerlist call receive following invalid xml in response(see below)

this behavior random , occurs 1 or 2 times in day, other same api call works of time. sometime seems invalid xml due password hash , sometime below(invalid or incomplete xml node(s)):

request:

<?xml version="1.0" encoding="utf-8" standalone="no" ?> <soapenv:envelope xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:magento" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <soapenv:header/> <soapenv:body> <urn:customercustomerlist soapenv:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"> <sessionid xmlns:xs="http://www.w3.org/2000/xmlschema-instance" xsi:type="xsd:string" xs:type="type:string">5bff6fb17eba1277154ec09885b45746</sessionid> <filters xmlns:xs="http://www.w3.org/2000/xmlschema-instance" xsi:type="urn:filters" xs:type="type:filters"> <filter> <associativeentity> <key xs:type="type:string">email</key> <value xs:type="type:string">zahmed@folio3.com</value> </associativeentity> </filter> </filters> </urn:customercustomerlist> </soapenv:body> </soapenv:envelope> 

response:

<?xml version="1.0" encoding="utf-8"?> <soap-env:envelope xmlnssmiley frustratedoap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:magento" xmlnssmiley frustratedoap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" soap-env:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"> <soap-env:body> <ns1:customercustomerlistresponse> <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">zahmed@folio3.com</email> <firstname xsi:type="xsd:string">zeeshan</firstname> <lastname xsi:type="xsd:string">ahmed</lastname> <group_id xsi:type="xsd:int">0</group_id> </item> /storeview> </p_id xsi:type="xsd:int">0 </group_id> <5>/env:body> <ns1:c/env:envelope xmln 

if has ever faced issue. please let me know how rid of this.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -