Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Label References |  Local Variables  | All
Print Page as PDF
Routine: XOBWLIB

Package: Web Services Client

Routine: XOBWLIB


Information

XOBWLIB ;ALB/MJK - HWSC :: Utilities Library ; 09/13/10 4:00pm

Source Information

Source file <XOBWLIB.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Web Services Client 2 ($$GENPORT,REGISTER,UNREG)^XOBWD  ($$EOFAC,$$GETSRV,$$SKEYADD,$$SNAME4KY,ATTACHDR,DISPSRVS)^XOBWLIB1  
Kernel 1 ^%ZTER  

Caller Graph

Caller Graph Total: 55

Package Total Caller Graph
Registration 10 DG531014P  DG531027P  DG531065P  DG531095P  DGAUDIT  DGAUDIT1  DGAUDITP  DGREGEEWS  
DGUAMWS  VAFCREL  
Outpatient Pharmacy 9 PSO7E529  PSO7P529  PSO7P684  PSODEADD  PSODEAU0  PSOERUT  PSOERXA1  PSOERXI2  
PSOERXO1  
Order Entry Results Reporting 5 ORPDMPWS  ORRDI1  ORRDI2  ORY294  ORY519  
Scheduling 5 SCMCWS1  SCMCWSUT  SD53P603  SDES884P  SDESCANCELVVS  
Consult Request Tracking 4 GMRC139P  GMRCCCRP200  GMRCCCRPRE200  GMRCDST  
Pharmacy Data Management 4 PSS160PO  PSSFDBDI  PSSFDBRT  PSSHTTP  
Automated Medical Information Exchange 3 DVBAHWSC  DVBAMVI1  DVBAMVI2  
Kernel 3 XUEPCSU1  XUIAMXML  XUMVIWSC  
Master Patient Index VistA 2 MPIFHWSC  MPIFWSC  
National Drug File 2 PSN513PO  PSNPPSNC  
Oncology 2 ONCWEB1  ONCWEB2  
Text Integration Utility 2 TIUCCRP363  TIUCCRPRE363  
Web Services Client 2 XOBWD  XOBWUS1  
Real Time Location System 1 VIAAQUE  
Toolkit 1 RD73P149  

Entry Points

Name Comments DBIA/ICR reference
GETFAC(XOBWSN) ; -- get web service proxy factory
; Input:
; XOBWSN - web service name
GETPROXY(XOBWSN,XOBSRVR) ; -- get web service proxy
; Input:
; XOBWSN - web service name
; XOBSRVR - web server name
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    GENPORT(XOBY) ; -- generate http port class from WSDL during install
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    REGSOAP(XOBWSN,XOBCXT,XOBCLASS,XOBWSDL,XOBCAURL) ; -- register SOAP service
    ; Input:
    ; XOBWSN - SOAP web service name
    ; XOBCXT - web service context root
    ; XOBCLASS - full class name, including package
    ; XOBWSDL - file path containing WSDL document [optional]
    ; XOBCAURL - 'check availability' url portion to follow context root [optional]
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    ATTACHDR(XOBPROXY) ; -- add VistaInfoHeader to proxy object
    ; Input:
    ; XOBPROXY - web service proxy object
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    UNREG(XOBWSN) ; unregister/delete REST *or* SOAP web service
    ; Input:
    ; XOBWSN - web service name
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    GETRESTF(XOBWSN) ; -- get REST service request factory
    ; Input:
    ; XOBWSN - web service name
    GETREST(XOBWSN,XOBSRVR) ; -- get REST service request
    ; Input:
    ; XOBWSN - web service name
    ; XOBSRVR - web server name
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    REGREST(XOBWSN,XOBCXT,XOBCAURL) ; -- register REST service
    ; Input:
    ; XOBWSN - REST web service name
    ; XOBCXT - web service context root
    ; XOBCAURL - 'check availability' url portion to follow context root [optional]
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    GET(XOBREST,XOBRSCE,XOBERR,XOBFERR) ; -- do HTTP GET method and force M/Cache error if problem encountered
    ; Executes STATCHK and HTTPCHK calls.
    ; input:
    ; XOBREST = instance of xobw.RestRequest class
    ; XOBRSCE = resource for HTTP GET method
    ; XOBERR = where to store HWSC error object if problem encountered
    ; XOBFERR = if error object created, force M/Cache error [1], otherwise return to caller [0]
    ; [optional ; default = 1]
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    POST(XOBREST,XOBRSCE,XOBERR,XOBFERR) ; -- do HTTP POST method and force M/Cache error if problem encountered
    ; Executes STATCHK and HTTPCHK calls.
    ; input:
    ; XOBREST = instance of xobw.RestRequest class
    ; XOBRSCE = resource for HTTP GET method
    ; XOBERR = where to store HWSC error object if problem encountered
    ; XOBFERR = if error object created, force M/Cache error [1], otherwise return to caller [0]
    ; [optional ; default = 1]
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    HTTPCHK(XOBREST,XOBERR,XOBFERR) ; -- check HTTP response status code
    ; input:
    ; XOBREST = instance of xobw.RestRequest class
    ; XOBERR = where to store HWSC error object if problem encountered
    ; XOBFERR = if error object created, force M/Cache error [1], otherwise return to caller [0]
    ; [optional ; default = 1]
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    HTTPOK(XOBSCODE) ; -- is HTTP response status code an 'OK' code
    ; -- Future: Should we add more 200 series codes to the check?
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    EOFAC(XOBPROXY) ; -- Error Object FACtory
    ; > finds and parses errors in partition
    ; > builds and returns error object for easier processing
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    EOSTAT(XOBSO) ; -- create object error from status error object
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    EOHTTP(XOBHRO) ; -- create object error from %Net.HttpResponse object
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    ERRDISP(XOBEO) ; -- do simple error display
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    ERR2ARR(XOBEO,XOBERR) ; -- decompose error for traditional M processing
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    ZTER(XOBEO) ; -- build error object array and call error trap
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    STATCHK(XOBSO,XOBERR,XOBFERR) ; -- check Cache Status Object
    ; input:
    ; XOBSO = Cache status object
    ; XOBERR = where to store HWSC error object if problem encountered
    ; XOBFERR = if error object created, force M/Cache error [1], otherwise return to caller [0]
    ; [optional ; default = 1]
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    SKEYADD(XOBWKEY,XOBWDESC,XOBERR) ; add or edit a server key name/desc (no prompting)
    ; input parameters:
    ; XOBWKEY: name for key
    ; XOBWDESC: (optional) brief description
    ; XOBERR: (optional) textual error description as array node(s) starting
    ; at XOBERR(1) / passed by reference
    ; returns:
    ; >0: success (value = IEN of new or existing entry)
    ; 0: failure (did not add/edit key)
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    SNAME4KY(XOBWKEY,XOBWSNM,XOBERR) ; get server name based on key
    ; input parameters:
    ; XOBWKEY: name of key to lookup
    ; XOBWSNM: where web server name is returned / passed by reference
    ; XOBERR: (optional) where any error is returned / passed by reference
    ; format: <error #>^<error text>
    ; errors possible:
    ; 186008^description (key does not exist)
    ; 186009^description (server association missing)
    ; returns:
    ; 1 - successful lookup
    ; 0 - unsuccessful lookup
    ;
  • ICR #5421
    • Status: Under Revision
    • Usage: Supported
    SELSRV() ; -- interactive display and selection of an server
    ; Input: None
    ; Output:
    ; Function Value - server name
    ; -- display servers
    GETSRV() ; -- PUBLIC API: return interactive-user-selected server name
    ; User selects a server entry in the WEB SERVER file (#18.12)
    ; Input:
    ; None
    ; Output:
    ; Function Value - server name (#.01 field of file 18.12)
    ;
    DISPSRVS ; -- display servers
    ; Input:
    ; None
    ; Output:
    ; Screen formatted display of app servers and associated fields from file 18.12

    External References

    Name Field # of Occurrence
    ^%ZTER ZTER+4
    $$GENPORT^XOBWD GENPORT+1
    REGISTER^XOBWD REGSOAP+7, REGREST+5
    UNREG^XOBWD UNREG+3
    $$EOFAC^XOBWLIB1 EOFAC+7
    $$GETSRV^XOBWLIB1 GETSRV+7
    $$SKEYADD^XOBWLIB1 SKEYADD+9
    $$SNAME4KY^XOBWLIB1 SNAME4KY+13
    ATTACHDR^XOBWLIB1 ATTACHDR+3
    DISPSRVS^XOBWLIB1 DISPSRVS+6

    Label References

    Name Line Occurrences
    $$EOHTTP HTTPCHK+10
    $$EOSTAT STATCHK+10
    $$GETSRV SELSRV+7
    $$HTTPCHK GET+10, POST+10
    $$HTTPOK HTTPCHK+7
    $$STATCHK GET+9, POST+9
    DISPSRVS SELSRV+5
    ERR2ARR ZTER+3

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    XOBCAURL REGSOAP~, REGSOAP+7, REGREST~, REGREST+5
    XOBCLASS REGSOAP~, REGSOAP+7
    XOBCXT REGSOAP~, REGSOAP+7, REGREST~, REGREST+5
    XOBEO ERRDISP~, ERRDISP+1, ERR2ARR~, ERR2ARR+1, ZTER~, ZTER+3
    XOBEOARR ZTER+1~, ZTER+3
    XOBERR GET~, GET+9, GET+10, POST~, POST+9, POST+10, HTTPCHK~, HTTPCHK+10*, ERR2ARR~, ERR2ARR+2
    , STATCHK~, STATCHK+10*, SKEYADD~, SKEYADD+9, SNAME4KY~, SNAME4KY+13
    XOBFERR GET~, GET+9, GET+10, POST~, POST+9, POST+10, HTTPCHK~, HTTPCHK+12, STATCHK~, STATCHK+12
    XOBHRO EOHTTP~, EOHTTP+3
    XOBOK GET+8~, GET+9*, GET+10*, GET+11, POST+8~, POST+9*, POST+10*, POST+11, HTTPCHK+6~, HTTPCHK+7*
    , HTTPCHK+8, HTTPCHK+13, STATCHK+6~, STATCHK+7*, STATCHK+8, STATCHK+13
    XOBPROXY ATTACHDR~, ATTACHDR+3, EOFAC~, EOFAC+7
    XOBREST GET~, GET+10, POST~, POST+10, HTTPCHK~
    XOBRSCE GET~, GET+9, POST~, POST+9
    XOBSCODE HTTPOK~, HTTPOK+2
    XOBSO EOSTAT~, EOSTAT+3, STATCHK~, STATCHK+7, STATCHK+10
    XOBSRVR GETPROXY~, GETPROXY+4, GETREST~, GETREST+4
    XOBWDESC SKEYADD~, SKEYADD+9
    XOBWKEY SKEYADD~, SKEYADD+9, SNAME4KY~, SNAME4KY+13
    XOBWSDL REGSOAP~, REGSOAP+7
    XOBWSN GETFAC~, GETFAC+3, GETPROXY~, GETPROXY+4, REGSOAP~, REGSOAP+7, UNREG~, UNREG+3, GETRESTF~, GETRESTF+3
    , GETREST~, GETREST+4, REGREST~, REGREST+5
    XOBWSNM SNAME4KY~, SNAME4KY+13
    XOBY GENPORT~, GENPORT+1
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Label References |  Local Variables  | All