Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }