Produced by Araxis Merge on 12/5/2017 12:06:40 PM 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ExchangeDataSource\main\src\java\gov\va\med\imaging\exchange\webservices\soap\v1 | ImageMetadataServiceLocator.java | Mon Dec 4 21:35:30 2017 UTC |
| 2 | IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ExchangeDataSource\main\src\java\gov\va\med\imaging\exchange\webservices\soap\v1 | ImageMetadataServiceLocator.java | Mon Dec 4 22:00:04 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 280 |
| Changed | 2 | 4 |
| 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 | * ImageMe tadataServ iceLocator .java | |
| 3 | * | |
| 4 | * This fi le was aut o-generate d from WSD L | |
| 5 | * by the Apache Axi s 1.4 Apr 22, 2006 ( 06:55:48 P DT) WSDL2J ava emitte r. | |
| 6 | */ | |
| 7 | ||
| 8 | package go v.va.med.i maging.exc hange.webs ervices.so ap.v1; | |
| 9 | ||
| 10 | public cla ss ImageMe tadataServ iceLocator extends o rg.apache. axis.clien t.Service implements gov.va.me d.imaging. exchange.w ebservices .soap.v1.I mageMetada taService { | |
| 11 | ||
| 12 | public ImageMeta dataServic eLocator() { | |
| 13 | } | |
| 14 | ||
| 15 | ||
| 16 | public ImageMeta dataServic eLocator(o rg.apache. axis.Engin eConfigura tion confi g) { | |
| 17 | su per(config ); | |
| 18 | } | |
| 19 | ||
| 20 | public ImageMeta dataServic eLocator(j ava.lang.S tring wsdl Loc, javax .xml.names pace.QName sName) th rows javax .xml.rpc.S erviceExce ption { | |
| 21 | su per(wsdlLo c, sName); | |
| 22 | } | |
| 23 | ||
| 24 | // Use to get a proxy clas s for Imag eMetadataV 1 | |
| 25 | privat e java.lan g.String I mageMetada taV1_addre ss = "http ://localho st:8080/Im agingExcha ngeWebApp/ webservice s/ImageMet adata"; | |
| 26 | ||
| 27 | public java.lang .String ge tImageMeta dataV1Addr ess() { | |
| 28 | re turn Image MetadataV1 _address; | |
| 29 | } | |
| 30 | ||
| 31 | // The WSDD serv ice name d efaults to the port name. | |
| 32 | privat e java.lan g.String I mageMetada taV1WSDDSe rviceName = "ImageMe tadata.V1" ; | |
| 33 | ||
| 34 | public java.lang .String ge tImageMeta dataV1WSDD ServiceNam e() { | |
| 35 | re turn Image MetadataV1 WSDDServic eName; | |
| 36 | } | |
| 37 | ||
| 38 | public void setI mageMetada taV1WSDDSe rviceName( java.lang. String nam e) { | |
| 39 | Im ageMetadat aV1WSDDSer viceName = name; | |
| 40 | } | |
| 41 | ||
| 42 | public gov.va.me d.imaging. exchange.w ebservices .soap.v1.I mageMetada ta getImag eMetadataV 1() throws javax.xml .rpc.Servi ceExceptio n { | |
| 43 | jav a.net.URL endpoint; | |
| 44 | tr y { | |
| 45 | endpoint = new jav a.net.URL( ImageMetad ataV1_addr ess); | |
| 46 | } | |
| 47 | ca tch (java. net.Malfor medURLExce ption e) { | |
| 48 | throw ne w javax.xm l.rpc.Serv iceExcepti on(e); | |
| 49 | } | |
| 50 | re turn getIm ageMetadat aV1(endpoi nt); | |
| 51 | } | |
| 52 | ||
| 53 | public gov.va.me d.imaging. exchange.w ebservices .soap.v1.I mageMetada ta getImag eMetadataV 1(java.net .URL portA ddress) th rows javax .xml.rpc.S erviceExce ption { | |
| 54 | tr y { | |
| 55 | gov.va.m ed.imaging .exchange. webservice s.soap.v1. ImageMetad ataSoapBin dingStub _ stub = new gov.va.me d.imaging. exchange.w ebservices .soap.v1.I mageMetada taSoapBind ingStub(po rtAddress, this); | |
| 56 | _stub.se tPortName( getImageMe tadataV1WS DDServiceN ame()); | |
| 57 | return _ stub; | |
| 58 | } | |
| 59 | ca tch (org.a pache.axis .AxisFault e) { | |
| 60 | return n ull; | |
| 61 | } | |
| 62 | } | |
| 63 | ||
| 64 | public void setI mageMetada taV1Endpoi ntAddress( java.lang. String add ress) { | |
| 65 | Im ageMetadat aV1_addres s = addres s; | |
| 66 | } | |
| 67 | ||
| 68 | /** | |
| 69 | * For the given interface , get the stub imple mentation. | |
| 70 | * If this servi ce has no port for t he given i nterface, | |
| 71 | * the n ServiceE xception i s thrown. | |
| 72 | */ | |
| 73 | public java.rmi. Remote get Port(Class serviceEn dpointInte rface) thr ows javax. xml.rpc.Se rviceExcep tion { | |
| 74 | tr y { | |
| 75 | if (gov. va.med.ima ging.excha nge.webser vices.soap .v1.ImageM etadata.cl ass.isAssi gnableFrom (serviceEn dpointInte rface)) { | |
| 76 | gov. va.med.ima ging.excha nge.webser vices.soap .v1.ImageM etadataSoa pBindingSt ub _stub = new gov.v a.med.imag ing.exchan ge.webserv ices.soap. v1.ImageMe tadataSoap BindingStu b(new java .net.URL(I mageMetada taV1_addre ss), this) ; | |
| 77 | _stu b.setPortN ame(getIma geMetadata V1WSDDServ iceName()) ; | |
| 78 | retu rn _stub; | |
| 79 | } | |
| 80 | } | |
| 81 | ca tch (java. lang.Throw able t) { | |
| 82 | throw ne w javax.xm l.rpc.Serv iceExcepti on(t); | |
| 83 | } | |
| 84 | th row new ja vax.xml.rp c.ServiceE xception(" There is n o stub imp lementatio n for the interface: " + (ser viceEndpoi ntInterfac e == null ? "null" : serviceEn dpointInte rface.getN ame())); | |
| 85 | } | |
| 86 | ||
| 87 | /** | |
| 88 | * For the given interface , get the stub imple mentation. | |
| 89 | * If this servi ce has no port for t he given i nterface, | |
| 90 | * the n ServiceE xception i s thrown. | |
| 91 | */ | |
| 92 | public java.rmi. Remote get Port(javax .xml.names pace.QName portName, Class ser viceEndpoi ntInterfac e) throws javax.xml. rpc.Servic eException { | |
| 93 | if (portName == null) { | |
| 94 | return g etPort(ser viceEndpoi ntInterfac e); | |
| 95 | } | |
| 96 | ja va.lang.St ring input PortName = portName. getLocalPa rt(); | |
| 97 | if ("ImageMe tadata.V1" .equals(in putPortNam e)) { | |
| 98 | return g etImageMet adataV1(); | |
| 99 | } | |
| 100 | el se { | |
| 101 | java.rmi .Remote _s tub = getP ort(servic eEndpointI nterface); | |
| 102 | ((org.ap ache.axis. client.Stu b) _stub). setPortNam e(portName ); | |
| 103 | return _ stub; | |
| 104 | } | |
| 105 | } | |
| 106 | ||
| 107 | public javax.xml .namespace .QName get ServiceNam e() { | |
| 108 | return new javax.xml .namespace .QName("ur n:v1.soap. webservice s.exchange .imaging. URL ", "ImageM etadataSer vice"); | |
| 109 | } | |
| 110 | ||
| 111 | privat e java.uti l.HashSet ports = nu ll; | |
| 112 | ||
| 113 | public java.util .Iterator getPorts() { | |
| 114 | if (ports == null) { | |
| 115 | ports = new java.u til.HashSe t(); | |
| 116 | ports.add( new javax. xml.namesp ace.QName( "urn:v1.so ap.webserv ices.excha nge.imagin g. URL ", "ImageM etadata.V1 ")); | |
| 117 | } | |
| 118 | re turn ports .iterator( ); | |
| 119 | } | |
| 120 | ||
| 121 | /** | |
| 122 | * Set the endpoi nt address for the s pecified p ort name. | |
| 123 | */ | |
| 124 | public void setE ndpointAdd ress(java. lang.Strin g portName , java.lan g.String a ddress) th rows javax .xml.rpc.S erviceExce ption { | |
| 125 | ||
| 126 | if ("Image MetadataV1 ".equals(p ortName)) { | |
| 127 | setImage MetadataV1 EndpointAd dress(addr ess); | |
| 128 | } | |
| 129 | el se | |
| 130 | { // Unkno wn Port Na me | |
| 131 | throw ne w javax.xm l.rpc.Serv iceExcepti on(" Canno t set Endp oint Addre ss for Unk nown Port" + portNam e); | |
| 132 | } | |
| 133 | } | |
| 134 | ||
| 135 | /** | |
| 136 | * Set the endpoi nt address for the s pecified p ort name. | |
| 137 | */ | |
| 138 | public void setE ndpointAdd ress(javax .xml.names pace.QName portName, java.lang .String ad dress) thr ows javax. xml.rpc.Se rviceExcep tion { | |
| 139 | se tEndpointA ddress(por tName.getL ocalPart() , address) ; | |
| 140 | } | |
| 141 | ||
| 142 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.