Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Handling redirect errors from web services

Handling redirect errors from web services

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwcfsysadminhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shefali_sinha
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups