Esempio n. 1
0
        static void Main(string[] args)
        {
            localhostTestWebServices.WebService1 ws =
                new localhostTestWebServices.WebService1();
            string test = ws.HelloWorld();

            ServiceTest.WebService1SoapClient t
                = new ServiceTest.WebService1SoapClient();
            t.Endpoint.Address = new System.ServiceModel.EndpointAddress(
                "http://localhost:63363/WebService1.asmx");
            string test1 = t.HelloWorld();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            localhostTestWebServices.WebService1 ws =
                new localhostTestWebServices.WebService1();
            string test = ws.HelloWorld();



            ServiceTest.WebService1SoapClient t
                = new ServiceTest.WebService1SoapClient();
            t.Endpoint.Address = new System.ServiceModel.EndpointAddress(
                "http://localhost:63363/WebService1.asmx");
            string test1 = t.HelloWorld();
        }