Handling redirect errors from web services
-
Hi, I have an asp.net 3.5 app, and it calls an external web service and passes it a callback url. This works fine except when the webservice has an error and messes up the callback url, so that the response they should send to the callback url is sent to a faluty url as they've messed up the callback url we gave them. How should I handle this error? In 1.1, I have handled similar problems using webhandlers so that when the response comes in comes to our server with a faulty url, the webhandler redirects it to some place that makes sense. Is this still the way to handle this in asp.net 3.5. Or is there a better way? Also, I need to save the callback url somewhere so that after we get the response with the faulty url, we redirect to the correct callback url. But where should I store this? If I use a webhandler and store the callback url in the session, can the webhandler access it? Thanks. Shefali