RPCS Invocation

The iWay Application Adapter for MUMPS RPCS service allows you to invoke any M routine and returns the result. The namespace, routine, starting tag, and routine parameters are supplied in the request. The tag is optional. If it is not provided, then the routine will be executed from the beginning.

<tns:RPCS location="mumps/RPCS" xmlns:tns="http://schemas.ibi.com/iwmumps/services">
  <tns:Namespace>VISTA</tns:Namespace>
  <tns:Routine>DILFD</tns:Routine>;
  <tns:Tag>VFILE</tns:Tag>;
  <tns:Parameters>
    <tns:Param>100001</tns:Param>
  </tns:Parameters>
</tns:RPCS>

The response is a simple document containing the value returned by the routine.

<RPCSResponse xmlns="http://schemas.ibi.com/iwmumps/services">
    <Value>1</Value>
</RPCSResponse>