Sending data to web service in Action Script 3.0

I need to access the database using web service through CS3 i have tried accessing the database using Asp.Net page and it successed when i change just the URL of the Asp page and replace it with the web service URL it reports to me the follwoing error:
Error opening URL '[COLOR=#810081]http://localhost/Trial/DAService.asmx[/COLOR]’ Load failed: HTTP Status = 500 Load failed: IO error: Error #2032: Stream Error. URL: [URL=“http://localhost/Trial/DAService.asmx”][COLOR=#810081]http://localhost/Trial/DAService.asmx[/COLOR]
and this error elimnates when i request the web service and not sending data in the URL as i send SQL query through URLVariable as follows:
var variables:URLVariables = new URLVariables();
variables.SQLQuery = “select * from Employee”;
this code working with the .aspx page but when i use the web service it reports the previous error inspite the code written in web service is the same in the .aspx page.where in the web service i call a function in the constructor of the web service and this function gets the data from URL and then execute it as follows :
if (HttpContext.Current.Request.Form[“SQLQuery”] != null)
//Execute the SQL ::
so can any one help me? i hope that my question is obivious to everyone!!