ONCWEB2 ;ALBANY OIFO/RTK - VACCR WEB SERVICE ;Feb 14, 2024@14:22:22
Source file <ONCWEB2.m>
| action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| T3 | ;Collaborative Stage call to HWSC
|
|
| PPOST3(ONCHAND,XML,globalName) | ;POST request
; @DESC Sends an HTTP request to SERVER as a POST or GET ; @ONCHAND Handle to XML document ; @XML XML request as string ; @globalName the name of global to use ; @RESPONSE A handle to response XML document ; 1 for success, 0 for failure |
|
| ERROR | ;
; @DESC Handles error during request to DC SERVER via webservice. ; Depends on GLOBAL variable ONCERR to be set in previous call. ; @RETURNS Nothing. Value store in global. |
|
| GETTEXT(ERRARRAY) | ;
; @DESC Gets the error text from the array ; @ERRARRAY Error array stores error in format defined by web service product. ; @RETURNS Error info as a single string |
| Name | Line Occurrences (* Changed, ! Killed) |
|---|---|
| ^TMP( | T3+16, PPOST3+15!, PPOST3+20, PPOST3+30, PPOST3+66, PPOST3+68*, ERROR+10* |
| ^TMP("ONCCSCMA" | T3+13 |
| ^TMP("ONCCSTBL" | T3+14 |
| ^TMP("ONCSCRSP" | T3+3!, PPOST3+63* |
| ^TMP("ONCTBRSP" | T3+3!, PPOST3+64* |
| ^TMP($J | T3+4 |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| ERRARRAY | ERROR+4~, ERROR+8, ERROR+10, GETTEXT~ |
| ERRARRAY("text" | GETTEXT+8, GETTEXT+9 |
| ONC | PPOST3+7~, GETTEXT+4~ |
| ONC("Content-Type" | PPOST3+37*, PPOST3+51* |
| ONC("I" | GETTEXT+7*, GETTEXT+8*, GETTEXT+9 |
| ONC("errorText" | GETTEXT+6*, GETTEXT+9*, GETTEXT+11 |
| ONC("path" | PPOST3+34*, PPOST3+36*, PPOST3+39, PPOST3+43*, PPOST3+45*, PPOST3+48*, PPOST3+50*, PPOST3+53 |
| ONC("postResult" | PPOST3+39*, PPOST3+53*, PPOST3+67 |
| ONC("restObject" | PPOST3+18*, PPOST3+38*, PPOST3+39, PPOST3+52*, PPOST3+53, PPOST3+58 |
| ONC("result" | PPOST3+69* |
| ONC("server" | PPOST3+12*, PPOST3+18 |
| ONC("webserviceName" | PPOST3+13*, PPOST3+18 |
| ONC1 | PPOST3+61~*, PPOST3+63, PPOST3+64, PPOST3+65* |
| >> ONCCSRQT | T3+13, T3+14, PPOST3+23, PPOST3+24, PPOST3+41, PPOST3+46, PPOST3+63, PPOST3+64 |
| ONCERR | PPOST3+7~, PPOST3+39, PPOST3+53, ERROR+6*, ERROR+8 |
| ONCEXEC | PPOST3+32, PPOST3+40, PPOST3+54! |
| ONCFERR | PPOST3+7~ |
| ONCHAND | T3+10*, T3+15, PPOST3~ |
| ONCHR | T3+1~, T3+4*, T3+15 |
| >> ONCSERV | T3+6*, PPOST3+9*, PPOST3+13 |
| ONCSYS | T3+1~, T3+2*, PPOST3+34, PPOST3+36, PPOST3+43, PPOST3+45, PPOST3+48, PPOST3+50 |
| ONCTMP | T3+1~*, T3+16* |
| >> ONCWEB | T3+5*, PPOST3+8*, PPOST3+12 |
| RESPONSE | T3+1~*, T3+15*, T3+16 |
| >> SITE | T3+9* |
| >> TIME | T3+7*, T3+8* |
| XML | PPOST3~ |
| XMLQUIT | PPOST3+23~*, PPOST3+24~*, PPOST3+25 |
| globalName | T3+13~*, T3+14~*, T3+15, PPOST3~, PPOST3+25, PPOST3+26, PPOST3+27* |
| result | PPOST3+60~*, PPOST3+71 |
| stream | PPOST3+57~* |
| xmlString | PPOST3+22~*, PPOST3+26*, PPOST3+28 |