Produced by Araxis Merge on 5/1/2018 12:02:02 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | C:\AraxisMergeCompare\Pri_un\ZIP\JLV_2.6.2.0.3_src\JLVQoS\src\main\java\gov\va\med\jmeadows\dataservicehandler | VistaDataServiceHandler.java | Thu Mar 29 22:08:33 2018 UTC |
2 | C:\AraxisMergeCompare\Pri_re\ZIP\JLV_2.6.2.0.3_src\JLVQoS\src\main\java\gov\va\med\jmeadows\dataservicehandler | VistaDataServiceHandler.java | Tue May 1 13:43:33 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 160 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | /** | |
2 | * Janus 4 .0 (c) | |
3 | * Copyrig ht (c) 201 1 Hawaii R esource Gr oup LLC. A ll Rights Reserved. | |
4 | * Develop ed for the Pacific T elehealth & Technolo gy Hui and the Pacif ic Joint I nformation Technolog y Center | |
5 | * Contrib utors: | |
6 | * Hon orable Sen ator Danie l K. Inouy e | |
7 | * VA Pacific Is lands Heal th Care Sy stem | |
8 | * Tri pler Army Medical Ce nter | |
9 | */ | |
10 | ||
11 | ||
12 | package go v.va.med.j meadows.da taserviceh andler; | |
13 | ||
14 | import gov .va.med.jm eadows.com mon.JMeado wsExceptio n; | |
15 | import gov .va.med.vd s.webservi ce.*; | |
16 | ||
17 | import jav ax.xml.nam espace.QNa me; | |
18 | import jav ax.xml.ws. BindingPro vider; | |
19 | import jav a.util.Lis t; | |
20 | ||
21 | ||
22 | /** | |
23 | * @author vhahonbru nos | |
24 | */ | |
25 | public cla ss VistaDa taServiceH andler ext ends DataS erviceHand ler | |
26 | { | |
27 | privat e VistaDat aService m _VistaData Service; | |
28 | ||
29 | public VistaData ServiceHan dler(Strin g url) | |
30 | { | |
31 | su per(); | |
32 | ||
33 | se rviceURL = url; | |
34 | se rviceName = "VistaDa taService" ; | |
35 | serviceNam espace = " http://web service.vd s. URL /"; | |
36 | qS erviceName = new QNa me(service Namespace, serviceNa me); | |
37 | ||
38 | m_ VistaDataS ervice = n ew VistaDa taService( ); | |
39 | } | |
40 | ||
41 | privat e VistaDat a getVista DataPort() | |
42 | { | |
43 | ||
44 | Vi staData po rt = m_Vis taDataServ ice.getVis taDataPort (); | |
45 | ||
46 | // set port e ndpoint ad dress | |
47 | Bi ndingProvi der bp = ( BindingPro vider) por t; | |
48 | bp .getReques tContext() .put(Bindi ngProvider .ENDPOINT_ ADDRESS_PR OPERTY, se rviceURL); | |
49 | bp .getReques tContext() .put("com. sun.xml.in ternal.ws. connect.ti meout", se rviceConne ctionTimeo utMS); | |
50 | bp .getReques tContext() .put("com. sun.xml.in ternal.ws. request.ti meout", se rviceReque stTimeoutM S); | |
51 | bp .getReques tContext() .put("com. sun.xml.ws .connect.t imeout", s erviceConn ectionTime outMS); | |
52 | bp .getReques tContext() .put("com. sun.xml.ws .request.t imeout", s erviceRequ estTimeout MS); | |
53 | ||
54 | re turn port; | |
55 | } | |
56 | ||
57 | public String ge tVersion() throws JM eadowsExce ption | |
58 | { | |
59 | tr y | |
60 | { | |
61 | VistaDat a port = g etVistaDat aPort(); | |
62 | return p ort.getVer sion(); | |
63 | } | |
64 | ca tch (Excep tion e) | |
65 | { | |
66 | throw ne w JMeadows Exception( e); | |
67 | } | |
68 | } | |
69 | ||
70 | public List<Vist aStatus> g etVistaSta tusList(Li st<Site> s iteList) t hrows JMea dowsExcept ion { | |
71 | tr y | |
72 | { | |
73 | VistaDat a port = g etVistaDat aPort(); | |
74 | return p ort.getVis taStatusLi st(siteLis t); | |
75 | } | |
76 | ca tch (Excep tion e) | |
77 | { | |
78 | throw ne w JMeadows Exception( e); | |
79 | } | |
80 | } | |
81 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.