Actually i am writing code in a button click event to invoke a webservice dynamically ,by using Httpwebrequest and webresponse.
At this place its giving an error.
WebResponse response = req.GetResponse();
and the error is "The remote server returned an error: (500) Internal Server Error "
Can you help me in solving this problem?