| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
|
| 21 |
|
package ext.vamsas; |
| 22 |
|
|
| 23 |
|
import jalview.util.MessageManager; |
| 24 |
|
|
| |
|
| 0% |
Uncovered Elements: 65 (65) |
Complexity: 23 |
Complexity Density: 0.59 |
|
| 25 |
|
public class SeqSearchServiceLocator extends org.apache.axis.client.Service |
| 26 |
|
implements ext.vamsas.SeqSearchServiceService |
| 27 |
|
{ |
| 28 |
|
|
| |
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
| 29 |
0 |
public SeqSearchServiceLocator()... |
| 30 |
|
{ |
| 31 |
|
} |
| 32 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 33 |
0 |
public SeqSearchServiceLocator(org.apache.axis.EngineConfiguration config)... |
| 34 |
|
{ |
| 35 |
0 |
super(config); |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
|
| 39 |
|
private java.lang.String ScanPSService_address = "http://localhost:8080/TestJWS/services/ScanPSService"; |
| 40 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 41 |
0 |
public java.lang.String getSeqSeachServiceAddress()... |
| 42 |
|
{ |
| 43 |
0 |
return ScanPSService_address; |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
|
| 47 |
|
private java.lang.String ScanPSServiceWSDDServiceName = "ScanPSService"; |
| 48 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 49 |
0 |
public java.lang.String getScanPSServiceWSDDServiceName()... |
| 50 |
|
{ |
| 51 |
0 |
return ScanPSServiceWSDDServiceName; |
| 52 |
|
} |
| 53 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 54 |
0 |
public void setScanPSServiceWSDDServiceName(java.lang.String name)... |
| 55 |
|
{ |
| 56 |
0 |
ScanPSServiceWSDDServiceName = name; |
| 57 |
|
} |
| 58 |
|
|
| |
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.4 |
|
| 59 |
0 |
public ext.vamsas.SeqSearchI getSeqSearchService()... |
| 60 |
|
throws javax.xml.rpc.ServiceException |
| 61 |
|
{ |
| 62 |
0 |
java.net.URL endpoint; |
| 63 |
0 |
try |
| 64 |
|
{ |
| 65 |
0 |
endpoint = new java.net.URL(ScanPSService_address); |
| 66 |
|
} catch (java.net.MalformedURLException e) |
| 67 |
|
{ |
| 68 |
0 |
throw new javax.xml.rpc.ServiceException(e); |
| 69 |
|
} |
| 70 |
0 |
return getSeqSearchService(endpoint); |
| 71 |
|
} |
| 72 |
|
|
| |
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.4 |
|
| 73 |
0 |
public ext.vamsas.SeqSearchI getSeqSearchService(java.net.URL portAddress)... |
| 74 |
|
throws javax.xml.rpc.ServiceException |
| 75 |
|
{ |
| 76 |
0 |
try |
| 77 |
|
{ |
| 78 |
0 |
ext.vamsas.SeqSearchServiceSoapBindingStub _stub = new ext.vamsas.SeqSearchServiceSoapBindingStub( |
| 79 |
|
portAddress, this); |
| 80 |
0 |
_stub.setPortName(getScanPSServiceWSDDServiceName()); |
| 81 |
0 |
return _stub; |
| 82 |
|
} catch (org.apache.axis.AxisFault e) |
| 83 |
|
{ |
| 84 |
0 |
return null; |
| 85 |
|
} |
| 86 |
|
} |
| 87 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 88 |
0 |
public void setScanPSServiceEndpointAddress(java.lang.String address)... |
| 89 |
|
{ |
| 90 |
0 |
ScanPSService_address = address; |
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
|
| 94 |
|
|
| 95 |
|
|
| 96 |
|
|
| |
|
| 0% |
Uncovered Elements: 11 (11) |
Complexity: 4 |
Complexity Density: 0.57 |
|
| 97 |
0 |
public java.rmi.Remote getPort(Class serviceEndpointInterface)... |
| 98 |
|
throws javax.xml.rpc.ServiceException |
| 99 |
|
{ |
| 100 |
0 |
try |
| 101 |
|
{ |
| 102 |
0 |
if (ext.vamsas.SeqSearchI.class |
| 103 |
|
.isAssignableFrom(serviceEndpointInterface)) |
| 104 |
|
{ |
| 105 |
0 |
ext.vamsas.SeqSearchServiceSoapBindingStub _stub = new ext.vamsas.SeqSearchServiceSoapBindingStub( |
| 106 |
|
new java.net.URL(ScanPSService_address), this); |
| 107 |
0 |
_stub.setPortName(getScanPSServiceWSDDServiceName()); |
| 108 |
0 |
return _stub; |
| 109 |
|
} |
| 110 |
|
} catch (java.lang.Throwable t) |
| 111 |
|
{ |
| 112 |
0 |
throw new javax.xml.rpc.ServiceException(t); |
| 113 |
|
} |
| 114 |
0 |
throw new javax.xml.rpc.ServiceException(MessageManager.formatMessage( |
| 115 |
|
"exception.no_stub_implementation_for_interface", new String[] |
| 116 |
0 |
{ (serviceEndpointInterface == null ? "null" |
| 117 |
|
: serviceEndpointInterface.getName()) })); |
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
|
| 121 |
|
|
| 122 |
|
|
| 123 |
|
|
| |
|
| 0% |
Uncovered Elements: 12 (12) |
Complexity: 3 |
Complexity Density: 0.38 |
|
| 124 |
0 |
public java.rmi.Remote getPort(javax.xml.namespace.QName portName,... |
| 125 |
|
Class serviceEndpointInterface) |
| 126 |
|
throws javax.xml.rpc.ServiceException |
| 127 |
|
{ |
| 128 |
0 |
if (portName == null) |
| 129 |
|
{ |
| 130 |
0 |
return getPort(serviceEndpointInterface); |
| 131 |
|
} |
| 132 |
0 |
java.lang.String inputPortName = portName.getLocalPart(); |
| 133 |
0 |
if ("ScanPSService".equals(inputPortName)) |
| 134 |
|
{ |
| 135 |
0 |
return getSeqSearchService(); |
| 136 |
|
} |
| 137 |
|
else |
| 138 |
|
{ |
| 139 |
0 |
java.rmi.Remote _stub = getPort(serviceEndpointInterface); |
| 140 |
0 |
((org.apache.axis.client.Stub) _stub).setPortName(portName); |
| 141 |
0 |
return _stub; |
| 142 |
|
} |
| 143 |
|
} |
| 144 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 145 |
0 |
public javax.xml.namespace.QName getServiceName()... |
| 146 |
|
{ |
| 147 |
0 |
return new javax.xml.namespace.QName("vamsas", "ScanPSServiceService"); |
| 148 |
|
} |
| 149 |
|
|
| 150 |
|
private java.util.HashSet ports = null; |
| 151 |
|
|
| |
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
| 152 |
0 |
public java.util.Iterator getPorts()... |
| 153 |
|
{ |
| 154 |
0 |
if (ports == null) |
| 155 |
|
{ |
| 156 |
0 |
ports = new java.util.HashSet(); |
| 157 |
0 |
ports.add(new javax.xml.namespace.QName("vamsas", "ScanPSService")); |
| 158 |
|
} |
| 159 |
0 |
return ports.iterator(); |
| 160 |
|
} |
| 161 |
|
|
| 162 |
|
|
| 163 |
|
|
| 164 |
|
|
| |
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
| 165 |
0 |
public void setEndpointAddress(java.lang.String portName,... |
| 166 |
|
java.lang.String address) throws javax.xml.rpc.ServiceException |
| 167 |
|
{ |
| 168 |
0 |
if ("ScanPSService".equals(portName)) |
| 169 |
|
{ |
| 170 |
0 |
setScanPSServiceEndpointAddress(address); |
| 171 |
|
} |
| 172 |
|
else |
| 173 |
|
{ |
| 174 |
0 |
throw new javax.xml.rpc.ServiceException(MessageManager.formatMessage( |
| 175 |
|
"exception.cannot_set_endpoint_address_unknown_port", |
| 176 |
|
new String[] |
| 177 |
|
{ portName })); |
| 178 |
|
} |
| 179 |
|
} |
| 180 |
|
|
| 181 |
|
|
| 182 |
|
|
| 183 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 184 |
0 |
public void setEndpointAddress(javax.xml.namespace.QName portName,... |
| 185 |
|
java.lang.String address) throws javax.xml.rpc.ServiceException |
| 186 |
|
{ |
| 187 |
0 |
setEndpointAddress(portName.getLocalPart(), address); |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
} |