500 internal server error at GetResponse()

后端 未结 8 1895
花落未央
花落未央 2020-12-08 10:37

I have a heavy traffic aspx page calling a web service upon every user`s request as follows.

string uri = \"Path.asmx\";
string soap = \"soap xml string\";

         


        
8条回答
  •  春和景丽
    2020-12-08 11:17

    From that error, I would say that your code is fine, at least the part that calls the webservice. The error seems to be in the actual web service.

    To get the error from the web server, add a try catch and catch a WebException. A WebException has a property called Response which is a HttpResponse. you can then log anything that is returned, and upload you code. Check back later in the logs and see what is actually being returned.

提交回复
热议问题