Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have an issue with a larga data received by a call of SoapClient with xml format. Work fine on IE, Chrome, Safari but Mozilla Firefox read only if records is less than 15.

Then script code is;

try {
var url = ' -- my service url -- ';
var pl = new SOAPClientParameters();
pl.add('userId', sessionStorage.getItem("filterUserId"));
SOAPClient.invoke(url, "getLogs", pl, true, returnLog)
}
catch(e) {
$.msg({ content: 'ERROR: ' + e , autoUnblock : false});
$('#divLoading').toggle('Hide');
}
function returnLog(returnValue) {

PHP
xmlDoc = $.parseXML(returnValue);
    $xml = $(xmlDoc);

$xml.find(nodeName).each(function() {	
		$field1 = $(this).find('historyId');
		$field1Value = $field1.text();    
                $field2 = $(this).find('taskDesc');
		$field2Value = $field2.text();    
	});;
         }


This is the XML Structure, I need 500 records aprox.

XML
<logData>
<log>
<historyId></historyId>
<taskDate></taskDate>
<userFullName></userFullName>
<businessName></businessName>
<project></project>
<task> </task>
<totalHours></totalHours>
<taskDesc></taskDesc>
</log>
</logData>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900