views:

6

answers:

0

Hi All
I try to use this webService ws.eoddata.com/data.asmx in web application i can access all information using following code:

    var wsEOD = new com.eoddata.ws.Data();
        var response = wsEOD.Login("khem", "Nepal"); [Example]

        if (response != null)
        {
            if (!string.IsNullOrEmpty(response.Token))
            {
                hddtoken.Value = response.Token;
                // Load Exchange Dropdown
                LoadExchanges();
            }
        }

Above code is in Asp.net Application workice nicely also asp.net autogenerated web service code is really clean.

After that i try to use it in silverlight application but i am not able to figure out due to silver generate different code while doing auto generate.

When i add webservice in my silverlight application all code are changed. I didn't see code as it is like Asp.net Application. Can some one explain why is it?

I have attache web services files generated by both system http://www.accuratecharts.com/AutoGenerateWebServiceCode.rar

Thanks in Advance