0 Replies Latest reply on Jan 14, 2010 4:54 AM by uzairseedat

    Problem with .NET WebService

    uzairseedat Level 1

      I have a .NET Web service from which i need to fetch some data. The project name in .NET is StateService and inside that project there is a service with name: DataProvider.asmx


      I can run the service from Visual Studio and can see the WSDL using address:




      Now the following code in Flex 3 gives me WSDL not found error:


      var service:WebService = new WebService();

      service.wsdl = http://localhost:2822/DataProvider.asmx?WSDL";

      service.destination = "DataProvider";


      service.GetState.addEventListener("result", LoadXML);

      service.addEventListener("fault", ShowError);