F
Francois
Hello,
I cannot understand how this works ...
I do :
XmlDocuement DocIn = new XmlDocument();
blah blah for DocIn.
try{
MyRequest =
(HttpWebRequest)HttpWebRequest.Create("http://myserver/myxmlweb/Default.aspx");
MyRequest.Method = "POST";
MyRequest.ContentType = "text/xml;";
DocIn.Save(MyRequest.GetRequestStream());
MyRequest.Timeout = 5000;
//Get Response
HttpWebResponse = (HttpWebResponse)MyRequest.GetResponse();
}
catch(E ...
And I am locked forever in GetResponse(). No exception, no timeout, just
plain dull lock.
What s wrong ?
mysever uses integrated IIS authentification. I do set any credential for
myRequest. So I am expecting at least a HTTP 401 response.
Thanks.
I cannot understand how this works ...
I do :
XmlDocuement DocIn = new XmlDocument();
blah blah for DocIn.
try{
MyRequest =
(HttpWebRequest)HttpWebRequest.Create("http://myserver/myxmlweb/Default.aspx");
MyRequest.Method = "POST";
MyRequest.ContentType = "text/xml;";
DocIn.Save(MyRequest.GetRequestStream());
MyRequest.Timeout = 5000;
//Get Response
HttpWebResponse = (HttpWebResponse)MyRequest.GetResponse();
}
catch(E ...
And I am locked forever in GetResponse(). No exception, no timeout, just
plain dull lock.
What s wrong ?
mysever uses integrated IIS authentification. I do set any credential for
myRequest. So I am expecting at least a HTTP 401 response.
Thanks.