22. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/4/2017 8:32:30 AM Central Standard 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.

22.1 Files compared

# Location File Last Modified
1 VCCM.zip\VCCM\CRM_solutions\FTPResources\source\WebResources\ftp_\ServiceConnectedDisabilitiesGrid TestSOAP2.html Thu Nov 30 12:26:32 2017 UTC
2 VCCM.zip\VCCM\CRM_solutions\FTPResources\source\WebResources\ftp_\ServiceConnectedDisabilitiesGrid TestSOAP2.html Thu Nov 30 18:33:22 2017 UTC

22.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 320
Changed 3 6
Inserted 0 0
Removed 0 0

22.3 Comparison options

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

22.4 Active regular expressions

No regular expressions were active.

22.5 Comparison detail

  1   <html>
  2   <head>
  3       <title >SOAP Java Script Cli ent Test</ title>
  4       <scrip t type="te xt/javascr ipt">
  5           fu nction ret rieveDemog raphics()  {
  6                try {
  7  
  8                    //de bugger;
  9                    var  eligibilit y;
  10                    var  veteran;
  11                    var  unemployab le;
  12                    var  svcCI;
  13                    var  percentage ;
  14                    var  sensitivit yFlag;
  15                    var  add1;
  16                    var  add2;
  17                    var  add3;
  18                    var  city;
  19                    var  state;
  20                    var  zip;
  21                    var  country;
  22                    var  key = "100 8591788V47 6978";
  23                    var  request =' <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" ' +
  24                                        'xmlns:sch ="http://j axws.webse rvices.esr . URL         /schemas"  ' +
  25                                      'xmlns:S OAP-ENV="h ttp://sche mas.xmlsoa p.org/soap /envelope/ ">' +
  26                                 '< soapenv:He ader>' +
  27                                      '<wsse:S ecurity SO AP-ENV:mus tUnderstan d="1" xmln s:wsse="ht tp://docs. oasis-open .org/wss/2 004/01/oas is-200401- wss-wssecu rity-secex t-1.0.xsd" >' +
  28                                          '<ws se:Usernam eToken xml ns:wsu="ht tp://docs. oasis-open .org/wss/2 004/01/oas is-200401- wss-wssecu rity-utili ty-1.0.xsd ">' +
  29                                               '<wsse:Use rname>CRMS vcUsr</wss e:Username >' +
  30                                                '<wsse:Pas sword Type ="http://d ocs.oasis- open.org/w ss/2004/01 /oasis-200 401-wss-us ername-tok en-profile -1.0#Passw ordText">
R EDACTED </wsse:Pas sword>'+
  31                                          '</w sse:Userna meToken>'  +
  32                                      '</wsse: Security>'  +
  33                                 '< /soapenv:H eader>' +
  34     
  35                                 '< soapenv:Bo dy>' +
  36                                      '<sch:ge tEESummary Request>'  +
  37                                      '<!--You  may enter  the follo wing 4 ite ms in any  order-->'  +
  38                                          '<sc h:key>0000 00'+key+'0 00000</sch :key>' +
  39                                          '<sc h:requestN ame>allEED ata</sch:r equestName >' +
  40                                          '<sc h:keyType> vpid</sch: keyType>'  +
  41                                      '</sch:g etEESummar yRequest>'  +
  42                                 '< /soapenv:B ody>' +
  43                             '</soa penv:Envel ope>';
  44                    var  query = ne w XMLHttpR equest();
  45                      query.open ('POST', ' http://jax ws.webserv ices.esr. URL         ', false);
  46                    quer y.onreadys tatechange  = functio n(){
  47                         if (query. readyState  == 4 && q uery.statu s==200){
  48                             eligib ility = qu ery.respon seXML.getE lementsByT agName("pr imaryEligi bility")[0 ].children [2].childN odes[0].no deValue;
  49                             vetera n = query. responseXM L.getEleme ntsByTagNa me("vetera n")[0].chi ldNodes[0] .nodeValue ;
  50                             unempl oyable = q uery.respo nseXML.get ElementsBy TagName("u nemployabl e")[0].chi ldNodes[0] .nodeValue ;
  51                             svcCI  = query.re sponseXML. getElement sByTagName ("serviceC onnectedIn dicator")[ 0].childNo des[0].nod eValue;
  52                             percen tage = que ry.respons eXML.getEl ementsByTa gName("rat edDisabili ty")[0].ch ildren[0]. childNodes [0].nodeVa lue;
  53                             sensit ivityFlag  = query.re sponseXML. getElement sByTagName ("sensitiv ityInfo")[ 0].childre n[0].child Nodes[0].n odeValue;
  54                             var ad ds=query.r esponseXML .getElemen tsByTagNam e("address es");
  55                             var pe rm;
  56                             for (i =0; i<adds .children. length; i+ +){
  57                                 if  (adds.chi ldren[i].c hildren[0] .childNode s[0].nodeV alue === " Permanent" ){
  58                                      perm = i ;
  59                                      
  60                                 }
  61                             
  62                             }
  63                             var pa = query.re sponseXML. getElement sByTagName ("addresse s")[0].chi ldren[perm ];
  64                    
  65                             for (i =0; i<pa.c hildren.le ngth; i++) {
  66                                 if  (pa.child ren[i].chi ldNodes[0] .nodeName  === "line1 "){
  67                                      add1 = p a.children [i].childN odes.nodeV alue;
  68                                 }
  69                             
  70                             }
  71                    
  72                             for (i =0; i<pa.c hildren.le ngth; i++) {
  73                                 if  (pa.child ren[i].chi ldNodes[0] .nodeName  === "line2 "){
  74                                      add2 = p a.children [i].childN odes.nodeV alue;
  75                                 }
  76                             
  77                             }
  78                    
  79                             for (i =0; i<pa.c hildren.le ngth; i++) {
  80                                 if  (pa.child ren[i].chi ldNodes[0] .nodeName  === "line3 "){
  81                                      add3 = p a.children [i].childN odes.nodeV alue;
  82                                 }
  83                             
  84                             }
  85                    
  86                             for (i =0; i<pa.c hildren.le ngth; i++) {
  87                                 if  (pa.child ren[i].chi ldNodes[0] .nodeName  === "city" ){
  88                                      city = p a.children [i].childN odes.nodeV alue;
  89                                 }
  90                             
  91                             }
  92                    
  93                             for (i =0; i<pa.c hildren.le ngth; i++) {
  94                                 if  (pa.child ren[i].chi ldNodes[0] .nodeName  === "state "){
  95                                      state =  pa.childre n[i].child Nodes.node Value;
  96                                 }
  97                             
  98                             }
  99                    
  100                             for (i =0; i<pa.c hildren.le ngth; i++) {
  101                                 if  (pa.child ren[i].chi ldNodes[0] .nodeName  === "zip") {
  102                                      zip = pa .children[ i].childNo des.nodeVa lue;
  103                                 }
  104                             
  105                             }
  106                    
  107                             for (i =0; i<pa.c hildren.le ngth; i++) {
  108                                 if  (pa.child ren[i].chi ldNodes[0] .nodeName  === "count ry"){
  109                                      country  = pa.child ren[i].chi ldNodes.no deValue;
  110                                 }
  111                             
  112                             }
  113                             Xrm.Pa ge.getAttr ibute("ftp _primaryel igibilityc ode").setV alue(eligi bility);
  114                             if(vet eran === " true"){
  115                                 Xr m.Page.get Attribute( "ftp_patie nttype").s etValue("v eteran");
  116                             }
  117                             else{
  118                                 Xr m.Page.get Attribute( "ftp_patie nttype").s etValue("N on-Veteran ");
  119                             }
  120                             Xrm.Pa ge.getAttr ibute("ftp _unemploya ble").setV alue(unemp loyable);
  121                             if(svc CI === "tr ue"){
  122                                 Xr m.Page.get Attribute( "ftp_servi ceconnecte d").setVal ue(true);
  123                             }
  124                             else{
  125                                 Xr m.Page.get Attribute( "ftp_servi ceconnecte d").setVal ue(false);
  126                             }
  127                             if (pe rcentage ! = null){
  128                                 Xr m.Page.get Attribute( "ftp_scper cent").set Value(perc entage);
  129                             }
  130                             if (se nsitivityF lag === "t rue"){
  131                                 Xr m.Page.get Attribute( "ftp_sensi tivevetera n").setVal ue(true);
  132                             }
  133                             else{
  134                                 Xr m.Page.get Attribute( "ftp_sensi tivevetera n").setVal ue(false);
  135                             
  136                             }
  137                             Xrm.Pa ge.getAttr ibute("add ress1_line 1").setVal ue(line1);
  138                             Xrm.Pa ge.getAttr ibute("add ress1_line 2").setVal ue(line2);
  139                             Xrm.Pa ge.getAttr ibute("add ress1_line 3").setVal ue(line3);
  140                             Xrm.Pa ge.getAttr ibute("add ress1_city ").setValu e(city);
  141                             Xrm.Pa ge.getAttr ibute("add ress1_stat eorprovinc e").setVal ue(state);
  142                             Xrm.Pa ge.getAttr ibute("add ress1_coun try").setV alue(count ry);
  143                             Xrm.Pa ge.getAttr ibute("add ress1_post alcode").s etValue(zi p);
  144                         }
  145                    };
  146                    quer y.send(req uest);
  147                }
  148                catch (e rr) {
  149                    //Di splay Erro r....
  150                    aler t("Error:  " + err.me ssage);
  151  
  152                }
  153           }
  154       </scri pt>
  155   </head>
  156   <body>
  157       <form  name="Demo " action=" " method=" post">
  158           <d iv>
  159                <input t ype="butto n" value=" Soap2" onc lick="retr ieveDemogr aphics();"  />
  160           </ div>
  161       </form >
  162   </body>
  163   </html>