public object[] GetNewRequests(WsToken token) { object[] results = this.Invoke("GetNewRequests", new object[] { token }); return((object[])(results[0])); }
public WsResponse SyncRequest(WsToken token, System.Xml.XmlNode doc) { object[] results = this.Invoke("SyncRequest", new object[] { token, doc }); return((WsResponse)(results[0])); }
/// <remarks/> public void GetNewRequestsAsync(WsToken token, object userState) { if ((this.GetNewRequestsOperationCompleted == null)) { this.GetNewRequestsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewRequestsOperationCompleted); } this.InvokeAsync("GetNewRequests", new object[] { token }, this.GetNewRequestsOperationCompleted, userState); }
/// <summary> /// Constructor when form is created /// </summary> public Form1() { InitializeComponent(); // create a new instance of the Affinity WsProcessor web service this.webService = new AffinityServer.WsProcessor(); // authenticate with the service to receive a token that we will need for all other functions this.webToken = this.webService.Authenticate("admin", "pass123"); }
/// <remarks/> public void SyncRequestAsync(WsToken token, System.Xml.XmlNode doc, object userState) { if ((this.SyncRequestOperationCompleted == null)) { this.SyncRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSyncRequestOperationCompleted); } this.InvokeAsync("SyncRequest", new object[] { token, doc }, this.SyncRequestOperationCompleted, userState); }
/// <remarks/> public void SyncRequestAsync(WsToken token, System.Xml.XmlNode doc) { this.SyncRequestAsync(token, doc, null); }
/// <remarks/> public void GetNewRequestsAsync(WsToken token) { this.GetNewRequestsAsync(token, null); }