1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package uk.ac.ebi.www; |
22 |
|
|
23 |
|
import jalview.util.MessageManager; |
24 |
|
|
|
|
| 0% |
Uncovered Elements: 43 (43) |
Complexity: 15 |
Complexity Density: 0.54 |
|
25 |
|
public class WSWUBlastServiceLocator extends org.apache.axis.client.Service |
26 |
|
implements uk.ac.ebi.www.WSWUBlastService |
27 |
|
{ |
28 |
|
|
29 |
|
|
30 |
|
private final java.lang.String WSWUBlast_address = "http://www.ebi.ac.uk/~alabarga/cgi-bin/webservices/WSWUBlast"; |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0 |
public java.lang.String getWSWUBlastAddress()... |
33 |
|
{ |
34 |
0 |
return WSWUBlast_address; |
35 |
|
} |
36 |
|
|
37 |
|
|
38 |
|
private java.lang.String WSWUBlastWSDDServiceName = "WSWUBlast"; |
39 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
0 |
public java.lang.String getWSWUBlastWSDDServiceName()... |
41 |
|
{ |
42 |
0 |
return WSWUBlastWSDDServiceName; |
43 |
|
} |
44 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
45 |
0 |
public void setWSWUBlastWSDDServiceName(java.lang.String name)... |
46 |
|
{ |
47 |
0 |
WSWUBlastWSDDServiceName = name; |
48 |
|
} |
49 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.4 |
|
50 |
0 |
public uk.ac.ebi.www.WSWUBlast getWSWUBlast()... |
51 |
|
throws javax.xml.rpc.ServiceException |
52 |
|
{ |
53 |
0 |
java.net.URL endpoint; |
54 |
0 |
try |
55 |
|
{ |
56 |
0 |
endpoint = new java.net.URL(WSWUBlast_address); |
57 |
|
} catch (java.net.MalformedURLException e) |
58 |
|
{ |
59 |
0 |
return null; |
60 |
|
} |
61 |
0 |
return getWSWUBlast(endpoint); |
62 |
|
} |
63 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.4 |
|
64 |
0 |
public uk.ac.ebi.www.WSWUBlast getWSWUBlast(java.net.URL portAddress)... |
65 |
|
throws javax.xml.rpc.ServiceException |
66 |
|
{ |
67 |
0 |
try |
68 |
|
{ |
69 |
0 |
uk.ac.ebi.www.WSWUBlastSoapBindingStub _stub = new uk.ac.ebi.www.WSWUBlastSoapBindingStub( |
70 |
|
portAddress, this); |
71 |
0 |
_stub.setPortName(getWSWUBlastWSDDServiceName()); |
72 |
0 |
return _stub; |
73 |
|
} catch (org.apache.axis.AxisFault e) |
74 |
|
{ |
75 |
0 |
return null; |
76 |
|
} |
77 |
|
} |
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
|
|
| 0% |
Uncovered Elements: 11 (11) |
Complexity: 4 |
Complexity Density: 0.57 |
|
83 |
0 |
public java.rmi.Remote getPort(Class serviceEndpointInterface)... |
84 |
|
throws javax.xml.rpc.ServiceException |
85 |
|
{ |
86 |
0 |
try |
87 |
|
{ |
88 |
0 |
if (uk.ac.ebi.www.WSWUBlast.class |
89 |
|
.isAssignableFrom(serviceEndpointInterface)) |
90 |
|
{ |
91 |
0 |
uk.ac.ebi.www.WSWUBlastSoapBindingStub _stub = new uk.ac.ebi.www.WSWUBlastSoapBindingStub( |
92 |
|
new java.net.URL(WSWUBlast_address), this); |
93 |
0 |
_stub.setPortName(getWSWUBlastWSDDServiceName()); |
94 |
0 |
return _stub; |
95 |
|
} |
96 |
|
} catch (java.lang.Throwable t) |
97 |
|
{ |
98 |
0 |
throw new javax.xml.rpc.ServiceException(t); |
99 |
|
} |
100 |
0 |
throw new javax.xml.rpc.ServiceException(MessageManager.formatMessage( |
101 |
|
"exception.no_stub_implementation_for_interface", new String[] |
102 |
0 |
{ (serviceEndpointInterface == null ? "null" |
103 |
|
: serviceEndpointInterface.getName()) })); |
104 |
|
} |
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
110 |
0 |
public java.rmi.Remote getPort(javax.xml.namespace.QName portName,... |
111 |
|
Class serviceEndpointInterface) |
112 |
|
throws javax.xml.rpc.ServiceException |
113 |
|
{ |
114 |
0 |
java.rmi.Remote _stub = getPort(serviceEndpointInterface); |
115 |
0 |
((org.apache.axis.client.Stub) _stub).setPortName(portName); |
116 |
0 |
return _stub; |
117 |
|
} |
118 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
119 |
0 |
public javax.xml.namespace.QName getServiceName()... |
120 |
|
{ |
121 |
0 |
return new javax.xml.namespace.QName("http://www.ebi.ac.uk/WSWUBlast", |
122 |
|
"WSWUBlastService"); |
123 |
|
} |
124 |
|
|
125 |
|
private java.util.HashSet ports = null; |
126 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
127 |
0 |
public java.util.Iterator getPorts()... |
128 |
|
{ |
129 |
0 |
if (ports == null) |
130 |
|
{ |
131 |
0 |
ports = new java.util.HashSet(); |
132 |
0 |
ports.add(new javax.xml.namespace.QName("WSWUBlast")); |
133 |
|
} |
134 |
0 |
return ports.iterator(); |
135 |
|
} |
136 |
|
|
137 |
|
} |