RPC HELP XWB DEFERRED RPC

From VistApedia
Revision as of 18:07, 6 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home <h2>XWB DEFERRED RPC</h2> Example Use this RPC to request that an RPC be run in deferred mode....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RPC Broker Help Home

XWB DEFERRED RPC

Example

Use this RPC to request that an RPC be run in deferred mode. The return value is a HANDLE that is used to check status and retrieve data. The following RPCs must be used to complete the transaction:

RPC PARAMETER: Pass the name of the RPC to be run in Param[0].Value, and the type (literal) in Param[0].PType.

RPC VERSION PARAMETER (Optional): Pass minimum version of RPC to be run in Param[1].Value, and the type (literal) in Param[1].PType. It will be checked against the value in the VERSION field of the REMOTE PROCEDURE file on the remote VistA M Server.

PARAMETERS TO THE REMOTE RPC: Pass up to eight parameters for the remote RPC in Param[2] through Param[9].

RETURN VALUE: An array. The first node is equal to a string that serves as a HANDLE. This HANDLE should be stored by the application and used to check the status and retrieve the data. In the case of an error condition the first node of the array is equal to a string with the syntax "-1^error text".