internal override void Invoke() { this._client = ExternalClientFactory.ConstructDataServiceClient(ExternalLib.Endpoint.DataEndpointName, ExternalLib.Endpoint.ExternalUserName, ExternalLib.Endpoint.ExternalUserPassword); this._rqstToken = this._client.ServiceClient.InteractiveReadByEndpoint(this._epRequest); this._client.ServiceClient.Close(); this._uniqueID = this._rqstToken.Id.ToString(); }
internal override void Invoke() { this._client = ExternalClientFactory.ConstructDataServiceClient(ExternalLib.Endpoint.DataEndpointName, ExternalLib.Endpoint.ExternalUserName, ExternalLib.Endpoint.ExternalUserPassword); if (null != this._grpRequest) { this._rqstToken = this._client.ServiceClient.InterrogateByGroup(this._grpRequest.InterrogateByGroupRequest); } else { this._rqstToken = this._client.ServiceClient.InterrogateByEndpoints(this._epRequest.InterrogateByEndpointsRequest); } this._client.ServiceClient.Close(); this._uniqueID = this._rqstToken.Id.ToString(); }