I do not understand did you not ask in the original post:
"So i need help to figure out whether this is client-side or server- side issue" Using Fiddler will tell you if it's a client side or server side issue.... because it will show you EXACTLY what the browser is trying to do.... something littering your code with "alert"-s is not going to accomplish... Whatever i suppose.... good luck solving your issue how you see fit On Aug 29, 10:01 am, "g...@iec" <abhi.pur...@gmail.com> wrote: > Is there any other way to find out the root cause apart from these. > > On Aug 29, 6:55 pm, MorningZ <morni...@gmail.com> wrote: > > > Have you tried an HTTP monitor like Fiddler (http://www.getfiddler.com) to > > see what is going on when the $.ajax request > > starts? > > > That will help diagnose for sure > > > On Aug 29, 9:46 am, "g...@iec" <abhi.pur...@gmail.com> wrote: > > > > Hi all, > > > > I have an issue. > > > I am submitting XML data using ajax call which updates data on server. > > > It works fine in firefox but gave 404 error in IE. > > > The ajax call which i am using is mentioned below : > > > > var url = '/' + serviceContext + '/services/content/update/' + > > > structid; > > > alert(nodeData); > > > $.ajax({ > > > url: url, > > > type: 'POST', > > > data: nodeData, > > > contentType: 'application/xml;charset= UTF-8', > > > cache: false, > > > processData: false, > > > dataType: 'xml', > > > success: function(){ > > > changeCounter = 0; > > > $('#messages').text('Changes to metadata > > > updated successfully.'); > > > return false; > > > }, > > > error: function(xhr, textStatus, errorThrown) { > > > $('#messages').text('Error! HTTP Error > > > code ' + > > > xhr.status).addClass('warning'); > > > return false; > > > } > > > }); > > > > Here nodeData is a xml which i am sending to server. > > > So i need help to figure out whether this is client-side or server- > > > side issue. > > > This call works fine in firefox and updates data on server but in ie > > > it gave 404 error (and response from server says : ' Could not find > > > resource at "'/' + serviceContext + '/services/content/update/' + > > > structid" link. ') > > > > Thanks to all in advance for providing suggestions.