Author: jafar.kumarkiri | Posted on: 6/25/2010 4:57:09 AM | Views : 277

Hi,
I want to write a simple ASP.NET weg page in C# that will consume a web service method using SOAP.
How to access a web service if it is on port 443 i.e HTTPS ? If the web method called successfully then it's response status code will be 200, how to return it back the same status code(that we have from web service) from where the page is accessed ? Suppose I have opened  the ASP.NET web page ( that consumes the web service method) from the browser and the web servic method is not available / responding then we will have staus code in it's web response in that ASPX web page.
My question is how to redirect that status code as status code of the ASPX page that actually calls web method internally, so that it will display some eror message(e,g 404, Page Not found ) directly on the browser.
Thanks,
     
...

Go to the complete details ...