VistALink v1.5.0.026

Package gov.va.med.vistalink.rpc

Implements RPC requests and responses over VistaLink.

See:
          Description

Class Summary
RpcReferenceType Represents a reference type object for an RPC parameter.
RpcRequest Represents a RPC request to an M VistA server.
RpcRequestFactory Factory class to creates instances of RpcRequest J2SE Example: //request and response objects
RpcRequest vReq = null;
RpcResponse vResp = null; //The Rpc Context
String rpcContext = "XOBV VISTALINK TESTER"; //The Rpc to call
String rpcName = "XOBV TEST PING"; //Construct the request object
vReq = RpcRequestFactory.getRpcRequest(rpcContext, rpcName); //Execute the Rpc and get the response
vResp = myConnection.executeRPC(vReq); //Work with the response ...
RpcRequestParams Represents the collection of parameters associated with an RPC.
RpcResponse Represents a data structure which holds the response value(s).
 

Exception Summary
NoRpcContextFaultException This exception represents the case where the request RPC context does not exist or the current user does not have access to the B-option representing the context.
RpcFaultException This fault exception class is used for all rpc-related errors returned from the M system.
RpcNotInContextFaultException This exception represents the case where the requested RPC is not contained in the current RPC context.
RpcNotOkForProxyUseException This exception represents the case where the requested RPC is not marked as OK for use by an application proxy user, but has been attempted to be invoked by one.
RpcResponseTypeIsNotXmlException Represents an exception indicating the RpcResponse type if not XML
RpcTimeOutFaultException This exception represents the case where the RPC execution took too long on the server and the application gracefully stopped the RPC's processing.
 

Package gov.va.med.vistalink.rpc Description

Implements RPC requests and responses over VistaLink.


VistALink v1.5.0.026

VistALink v1.5.0.026