测试

using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using BobLib.Silverlight.BobServiceReference;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace BobLib.Silverlight.Data
{
    public class DataServiceProvider
    {
        WebServiceSoapClient webService = new WebServiceSoapClient();
        public void GetJson()
        {
            ArrayOfAnyType any=new ArrayOfAnyType();
            webService.JsonServiceAsync("admin", "EHC.Reports.Base.Facade.ReportsFacade.GetCorpTree", any);
            webService.JsonServiceCompleted += new EventHandler<JsonServiceCompletedEventArgs>(webService_JsonServiceCompleted);
        } 

        void webService_JsonServiceCompleted(object sender, JsonServiceCompletedEventArgs e)
        {
            throw new NotImplementedException();
        }
    }
}

posted on 2010-03-16 14:16  imbob  阅读(221)  评论(0编辑  收藏  举报

导航