Having a problem that I cannot seem to get over. Simply trying to do a post of an xml string to a web site. Seems to work fine, until I hit a certain size of the string, then it fails. I have searched for other methods, but am coming up blank. Here is the code that I am trying to run:
var objHTTP, strResult;
objHTTP = new XMLHttpRequest();
objHTTP.send('oracleCart=' + <%=xmlString%>);
the string <%=xmlString%> is a properly formatted XML string. I have dumped it's value and checked it. This is for a shopping cart. If I add over 10 items, I get errors saying that the xml format is not correct. Any help on this would be appreciated.
Is your data properly encoded in XML safely? I would do a check by taking the XML document you're posting, keeping all the nodes intact, but replace all the data with simple like text. For example, replace every text node and attribute value to xxxxxxx.
Try submitting that. Also, it could be possible that your XML post is being too restrictive for your web server to handle. You could change that.
Is there a way you could post the XML doc here so we can see?