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. How to trap error in case of asynchronous web calls

How to trap error in case of asynchronous web calls

Scheduled Pinned Locked Moved Web Development
helpcsharpwcftools
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.
  • A Offline
    A Offline
    Amol Ravatale
    wrote on last edited by
    #1

    I am consuming a web service in VB.NET desktop application. I am using proxy class created from WSDL file using WSDL.exe utility. The call is asynchronous. Problem is if I provide wrong URL to call the web service, I do not receive any error. But if I am calling web service synchronously, it is giving error like "The Request failed with HTTP status 404: Not Found" I do not receive any error in case of asynchronous call, although the URL is wrong. Can anyone help? Regards, Amol

    Every thing will come to you if you have faith.

    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