public OwnerProxyController(IOwnerController controller, AuthSoapHeader soapHeader) { this.controller = controller ?? throw new ArgumentNullException(nameof(controller)); this.soapHeader = soapHeader ?? throw new ArgumentNullException(nameof(controller)); username = "******"; password = "******"; }
public Form1() { InitializeComponent(); WebServiceSoapClient soap = new WebServiceSoapClient(); AuthSoapHeader header = new AuthSoapHeader(); header.authString = "cc66ea17f303543d8c46207a7eaac530"; DataTable dt = soap.GetAccount(header, "dungnmse02767"); }