HttpWebRequest and HttpWebResponse

S

sridev

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
 
S

Sharon

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top