Hi,

I'm working on an application that would be using AJAX.NET. I'm calling
a server method that would send XML information using MSXML.SEND. I
would then expect a response.

Once I call the method in javascript, the server (.net) method in
msxml.send stops. Thus, not returning any response.

In a normal aspx page, the server method that executes msxml.send works
fine.

here's the code snippet:
MSXML2.ServerXMLHTTPClass msxml = new MSXML2.ServerXMLHTTPClass();
msxml.open("POST", "https://server/api.dll";, false, false, false);

XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load("sample.xml");

** AJAX method stops here
msxml.send(xmlDoc.InnerXml);

if(msxml.status == 200)
{
    xmlDoc = new XmlDocument();
    xmlDoc.LoadXml(msxml.responseText);
}

return xmlDoc.InnerXml;


Any help would be grateful!

Thank you in advance

Regards,
John


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to