locked
Timeout Exception in Web Services RRS feed

  • Question

  • Hi Team

     I am consuming a wsdl service in my WP8 application. One of my service calling async function to upload image on server.

    While calling service I am getting TimeOut Exceprion and Communication Exception (When No Internet connection) in EndInvoke method 

    Is Auto generated code form Visual Stuio doesn;t handle Exception. ? 

    I think it should call respective completed Event with e.Error parameter with error information. 

    Pease help me ...


    Ravindra

    Monday, May 5, 2014 4:05 PM

All replies

  • It's not completed if it timed out. Handle the exception using a try/catch block around the service call.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, May 5, 2014 7:05 PM