when I use HttpWebRequest.GetResponse() it throws error 500.
I can also say for sure that the request never reaches an invoked webmethod of the webservice since I perform it localy and debugger never stops in that method.
however adding a webreference and invoking its methods like Serive.Method() works fine.
I'm also 100% sure that XML I post is correct.
Please don't ask why do I use GetResponse if I can just add a reference.. I just have my reasons for that.
the question is why does it works with one webservice and throws 500th error with the other located on the very same machine.
never_again
Member
97 Points
46 Posts
Re: HttpWebRequest.GetResponse() throwing 500 error
Jul 25, 2010 03:15 PM|LINK
I have the same problem.
when I use HttpWebRequest.GetResponse() it throws error 500.
I can also say for sure that the request never reaches an invoked webmethod of the webservice since I perform it localy and debugger never stops in that method.
however adding a webreference and invoking its methods like Serive.Method() works fine.
I'm also 100% sure that XML I post is correct.
Please don't ask why do I use GetResponse if I can just add a reference.. I just have my reasons for that.
the question is why does it works with one webservice and throws 500th error with the other located on the very same machine.
I'm really frustrated.
Please help as soon as possible.
Thank you in advance.
Any help will be greatly appreciated.