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); }
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; }