Exemplo n.º 1
0
        private static CustomAction.ServiceReference1.PrinchService1SoapClient getSOAPClient()
        {
            Binding         binding         = new BasicHttpBinding();
            EndpointAddress endpointAddress = new EndpointAddress("http://52.38.37.58/PrinchService1.asmx?WSDL");

            CustomAction.ServiceReference1.PrinchService1SoapClient soap = new CustomAction.ServiceReference1.PrinchService1SoapClient(binding, endpointAddress);
            return(soap);
        }
Exemplo n.º 2
0
 private static CustomAction.ServiceReference1.PrinchService1SoapClient getSOAPClient()
 {
     Binding binding = new BasicHttpBinding();
     EndpointAddress endpointAddress = new EndpointAddress("http://52.38.37.58/PrinchService1.asmx?WSDL");
     CustomAction.ServiceReference1.PrinchService1SoapClient soap = new CustomAction.ServiceReference1.PrinchService1SoapClient(binding, endpointAddress);
     return soap;
 }