G
Greg Reevosh via .NET 247
Hi,
I have an issue with System.Net.HttpWebRequest object. Iamtrying to do call to Java Servlet that does userauthentication and then redirects to requested page and startsrequested process. It looks somethink like this:
http://SOMEHOST:10001/servlet/Servlet?_action=LOGIN&_User=USER
&_Pass=PASS&_fromLoginPage=TRUE&_language=''&_OrigUrlToRedirectTo=HTTP://SomeURL/doSERVLET?method=sta...e[0]=inUserID&varValue[0]=0&_serviceName=NAME
I get this error:
System.Net.WebException: (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.HttpWebRequest.GetResponse()
When I put the URL into browser it works fine. Any Ideas?
Thanks
I have an issue with System.Net.HttpWebRequest object. Iamtrying to do call to Java Servlet that does userauthentication and then redirects to requested page and startsrequested process. It looks somethink like this:
http://SOMEHOST:10001/servlet/Servlet?_action=LOGIN&_User=USER
&_Pass=PASS&_fromLoginPage=TRUE&_language=''&_OrigUrlToRedirectTo=HTTP://SomeURL/doSERVLET?method=sta...e[0]=inUserID&varValue[0]=0&_serviceName=NAME
I get this error:
System.Net.WebException: (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.HttpWebRequest.GetResponse()
When I put the URL into browser it works fine. Any Ideas?
Thanks