Fake C# .NET Remote ASMX Web Service Call
        Posted  
        
            by Bryan
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Bryan
        
        
        
        Published on 2010-04-12T21:50:40Z
        Indexed on 
            2010/04/12
            21:52 UTC
        
        
        Read the original article
        Hit count: 958
        
I built a .NET ASMX web service connecting to an SQL Server database. There is a web service call GetAllQuestions().
 var myService = new SATService();
 var serviceQuestions = myService.GetAllQuestions();
I saved the result of GetAllQuestions to GetAllQuestions.xml in the local application folder
Is there any way to fake the web service call and use the local xml result?
© Stack Overflow or respective owner