研究了下 ClientBase(Binding binding, EndpointAddress remoteAddress) 这个重载更好用,都不用填名称比如 new PAS.WebService.PASServiceSoapClient(new BasicHttpBinding(), new EndpointAddress("http://192.168.1.105/PASService.asmx"));