471,327 Members | 2,845 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,327 software developers and data experts.

HttpWebRequest and HttpWebResponse

hi all,
i have a c# application.In that i am using the httpwebrequest and
httpwebresponse class to send request and to get the response.

In the uri i am directing it to a aspx page.In the aspx page i
have generated an xml file.And using the two classes i am getting the
result perfectly.What i want to know is that if i get any exception in
that aspx page means, whether the exception will be seen in the
response which is in c# application.If we can do means how to do that
plz explain with example...............

Thanking you in advance

with regards,
sridev

Jan 4 '06 #1
1 1543
Hi,
What you really want to use is web services.
Anyway, you can catch any exception and reply with xml containing the
exception info.
Sharon.

"sridev" <ra*************@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
hi all,
i have a c# application.In that i am using the httpwebrequest and
httpwebresponse class to send request and to get the response.

In the uri i am directing it to a aspx page.In the aspx page i
have generated an xml file.And using the two classes i am getting the
result perfectly.What i want to know is that if i get any exception in
that aspx page means, whether the exception will be seen in the
response which is in c# application.If we can do means how to do that
plz explain with example...............

Thanking you in advance

with regards,
sridev

Jan 4 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Kueishiong Tu | last post: by
2 posts views Thread by Kueishiong Tu | last post: by
5 posts views Thread by rlueneberg | last post: by
1 post views Thread by ALA | last post: by
15 posts views Thread by Nightcrawler | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.