All pastes #936862 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-10 18:16 UTC
rendered paste body
        static UserService UserSvc = new UserService();

        static void Main()
        {
            Class1 TestClass = new Class1();
            UserSvc.Url = "http://csweb:8080/ClearstoryWebservices_Axis2/services/UserService";
            TestClass.Smoke();
        }
        public void Login()
        {

        }
        public void Smoke()
        {
            //Axis2UserService.axis2userservice.UserService TestService = new Axis2UserService.axis2userservice.UserService();
            //TestService.Url = "http://csweb:8080/ClearstoryWebservices_Axis2/services/UserService";
            getLoginDomains gld = new getLoginDomains();
            gld.param0 = "root";
            getLoginDomainsResponse resp = UserSvc.getLoginDomains(gld);
            DomainTreeBean b = new DomainTreeBean();
            b = resp.@return;
            foreach (DomainTreeBean bean in b.nodes)
            {
                try
                {
                    Console.Write(bean.domainInfo.name + " : " + bean.domainInfo.uuid);
                }
                catch (Exception e)
                {
                    Console.Write(e.Message);
                }
            }
            Console.Write("test");