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 |
|
|
|
|
| 0% |
Uncovered Elements: 223 (223) |
Complexity: 33 |
Complexity Density: 0.19 |
|
23 |
|
public class JpredSoapBindingStub extends org.apache.axis.client.Stub |
24 |
|
implements ext.vamsas.Jpred |
25 |
|
{ |
26 |
|
private java.util.Vector cachedSerClasses = new java.util.Vector(); |
27 |
|
|
28 |
|
private java.util.Vector cachedSerQNames = new java.util.Vector(); |
29 |
|
|
30 |
|
private java.util.Vector cachedSerFactories = new java.util.Vector(); |
31 |
|
|
32 |
|
private java.util.Vector cachedDeserFactories = new java.util.Vector(); |
33 |
|
|
34 |
|
static org.apache.axis.description.OperationDesc[] _operations; |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
36 |
0 |
static... |
37 |
|
{ |
38 |
0 |
_operations = new org.apache.axis.description.OperationDesc[4]; |
39 |
0 |
_initOperationDesc1(); |
40 |
|
} |
41 |
|
|
|
|
| 0% |
Uncovered Elements: 37 (37) |
Complexity: 1 |
Complexity Density: 0.03 |
|
42 |
0 |
private static void _initOperationDesc1()... |
43 |
|
{ |
44 |
0 |
org.apache.axis.description.OperationDesc oper; |
45 |
0 |
oper = new org.apache.axis.description.OperationDesc(); |
46 |
0 |
oper.setName("predict"); |
47 |
0 |
oper.addParameter(new javax.xml.namespace.QName("", "seq"), |
48 |
|
new javax.xml.namespace.QName("simple.objects.vamsas", |
49 |
|
"Sequence"), vamsas.objects.simple.Sequence.class, |
50 |
|
org.apache.axis.description.ParameterDesc.IN, false, false); |
51 |
0 |
oper.setReturnType(new javax.xml.namespace.QName( |
52 |
|
"http://www.w3.org/2001/XMLSchema", "string")); |
53 |
0 |
oper.setReturnClass(java.lang.String.class); |
54 |
0 |
oper.setReturnQName(new javax.xml.namespace.QName("", "predictReturn")); |
55 |
0 |
oper.setStyle(org.apache.axis.constants.Style.RPC); |
56 |
0 |
oper.setUse(org.apache.axis.constants.Use.ENCODED); |
57 |
0 |
_operations[0] = oper; |
58 |
|
|
59 |
0 |
oper = new org.apache.axis.description.OperationDesc(); |
60 |
0 |
oper.setName("predictOnMsa"); |
61 |
0 |
oper.addParameter(new javax.xml.namespace.QName("", "msf"), |
62 |
|
new javax.xml.namespace.QName("http://simple.objects.vamsas", |
63 |
|
"Msfalignment"), |
64 |
|
vamsas.objects.simple.Msfalignment.class, |
65 |
|
org.apache.axis.description.ParameterDesc.IN, false, false); |
66 |
0 |
oper.setReturnType(new javax.xml.namespace.QName( |
67 |
|
"http://www.w3.org/2001/XMLSchema", "string")); |
68 |
0 |
oper.setReturnClass(java.lang.String.class); |
69 |
0 |
oper.setReturnQName(new javax.xml.namespace.QName("", |
70 |
|
"predictOnMsaReturn")); |
71 |
0 |
oper.setStyle(org.apache.axis.constants.Style.RPC); |
72 |
0 |
oper.setUse(org.apache.axis.constants.Use.ENCODED); |
73 |
0 |
_operations[1] = oper; |
74 |
|
|
75 |
0 |
oper = new org.apache.axis.description.OperationDesc(); |
76 |
0 |
oper.setName("getpredict"); |
77 |
0 |
oper.addParameter(new javax.xml.namespace.QName("", "job_id"), |
78 |
|
new javax.xml.namespace.QName( |
79 |
|
"http://www.w3.org/2001/XMLSchema", "string"), |
80 |
|
java.lang.String.class, |
81 |
|
org.apache.axis.description.ParameterDesc.IN, false, false); |
82 |
0 |
oper.setReturnType(new javax.xml.namespace.QName( |
83 |
|
"http://simple.objects.vamsas", "Secstructpred")); |
84 |
0 |
oper.setReturnClass(vamsas.objects.simple.Secstructpred.class); |
85 |
0 |
oper.setReturnQName(new javax.xml.namespace.QName("", |
86 |
|
"getpredictReturn")); |
87 |
0 |
oper.setStyle(org.apache.axis.constants.Style.RPC); |
88 |
0 |
oper.setUse(org.apache.axis.constants.Use.ENCODED); |
89 |
0 |
_operations[2] = oper; |
90 |
|
|
91 |
0 |
oper = new org.apache.axis.description.OperationDesc(); |
92 |
0 |
oper.setName("getresult"); |
93 |
0 |
oper.addParameter(new javax.xml.namespace.QName("", "job_id"), |
94 |
|
new javax.xml.namespace.QName( |
95 |
|
"http://www.w3.org/2001/XMLSchema", "string"), |
96 |
|
java.lang.String.class, |
97 |
|
org.apache.axis.description.ParameterDesc.IN, false, false); |
98 |
0 |
oper.setReturnType(new javax.xml.namespace.QName( |
99 |
|
"http://simple.objects.vamsas", "JpredResult")); |
100 |
0 |
oper.setReturnClass(vamsas.objects.simple.JpredResult.class); |
101 |
0 |
oper.setReturnQName(new javax.xml.namespace.QName("", "getresultReturn")); |
102 |
0 |
oper.setStyle(org.apache.axis.constants.Style.RPC); |
103 |
0 |
oper.setUse(org.apache.axis.constants.Use.ENCODED); |
104 |
0 |
_operations[3] = oper; |
105 |
|
|
106 |
|
} |
107 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
108 |
0 |
public JpredSoapBindingStub() throws org.apache.axis.AxisFault... |
109 |
|
{ |
110 |
0 |
this(null); |
111 |
|
} |
112 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
113 |
0 |
public JpredSoapBindingStub(java.net.URL endpointURL,... |
114 |
|
javax.xml.rpc.Service service) throws org.apache.axis.AxisFault |
115 |
|
{ |
116 |
0 |
this(service); |
117 |
0 |
super.cachedEndpoint = endpointURL; |
118 |
|
} |
119 |
|
|
|
|
| 0% |
Uncovered Elements: 39 (39) |
Complexity: 2 |
Complexity Density: 0.05 |
|
120 |
0 |
public JpredSoapBindingStub(javax.xml.rpc.Service service)... |
121 |
|
throws org.apache.axis.AxisFault |
122 |
|
{ |
123 |
0 |
if (service == null) |
124 |
|
{ |
125 |
0 |
super.service = new org.apache.axis.client.Service(); |
126 |
|
} |
127 |
|
else |
128 |
|
{ |
129 |
0 |
super.service = service; |
130 |
|
} |
131 |
0 |
java.lang.Class cls; |
132 |
0 |
javax.xml.namespace.QName qName; |
133 |
0 |
java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; |
134 |
0 |
java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; |
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
0 |
qName = new javax.xml.namespace.QName("http://simple.objects.vamsas", |
153 |
|
"JpredResult"); |
154 |
0 |
cachedSerQNames.add(qName); |
155 |
0 |
cls = vamsas.objects.simple.JpredResult.class; |
156 |
0 |
cachedSerClasses.add(cls); |
157 |
0 |
cachedSerFactories.add(beansf); |
158 |
0 |
cachedDeserFactories.add(beandf); |
159 |
|
|
160 |
0 |
qName = new javax.xml.namespace.QName("simple.objects.vamsas", "Result"); |
161 |
0 |
cachedSerQNames.add(qName); |
162 |
0 |
cls = vamsas.objects.simple.Result.class; |
163 |
0 |
cachedSerClasses.add(cls); |
164 |
0 |
cachedSerFactories.add(beansf); |
165 |
0 |
cachedDeserFactories.add(beandf); |
166 |
|
|
167 |
0 |
qName = new javax.xml.namespace.QName("http://simple.objects.vamsas", |
168 |
|
"Secstructpred"); |
169 |
0 |
cachedSerQNames.add(qName); |
170 |
0 |
cls = vamsas.objects.simple.Secstructpred.class; |
171 |
0 |
cachedSerClasses.add(cls); |
172 |
0 |
cachedSerFactories.add(beansf); |
173 |
0 |
cachedDeserFactories.add(beandf); |
174 |
|
|
175 |
0 |
qName = new javax.xml.namespace.QName("http://simple.objects.vamsas", |
176 |
|
"Msfalignment"); |
177 |
0 |
cachedSerQNames.add(qName); |
178 |
0 |
cls = vamsas.objects.simple.Msfalignment.class; |
179 |
0 |
cachedSerClasses.add(cls); |
180 |
0 |
cachedSerFactories.add(beansf); |
181 |
0 |
cachedDeserFactories.add(beandf); |
182 |
|
|
183 |
0 |
qName = new javax.xml.namespace.QName("simple.objects.vamsas", |
184 |
|
"Sequence"); |
185 |
0 |
cachedSerQNames.add(qName); |
186 |
0 |
cls = vamsas.objects.simple.Sequence.class; |
187 |
0 |
cachedSerClasses.add(cls); |
188 |
0 |
cachedSerFactories.add(beansf); |
189 |
0 |
cachedDeserFactories.add(beandf); |
190 |
|
|
191 |
|
} |
192 |
|
|
|
|
| 0% |
Uncovered Elements: 48 (48) |
Complexity: 11 |
Complexity Density: 0.37 |
|
193 |
0 |
protected org.apache.axis.client.Call createCall()... |
194 |
|
throws java.rmi.RemoteException |
195 |
|
{ |
196 |
0 |
try |
197 |
|
{ |
198 |
0 |
org.apache.axis.client.Call _call = (org.apache.axis.client.Call) super.service |
199 |
|
.createCall(); |
200 |
0 |
if (super.maintainSessionSet) |
201 |
|
{ |
202 |
0 |
_call.setMaintainSession(super.maintainSession); |
203 |
|
} |
204 |
0 |
if (super.cachedUsername != null) |
205 |
|
{ |
206 |
0 |
_call.setUsername(super.cachedUsername); |
207 |
|
} |
208 |
0 |
if (super.cachedPassword != null) |
209 |
|
{ |
210 |
0 |
_call.setPassword(super.cachedPassword); |
211 |
|
} |
212 |
0 |
if (super.cachedEndpoint != null) |
213 |
|
{ |
214 |
0 |
_call.setTargetEndpointAddress(super.cachedEndpoint); |
215 |
|
} |
216 |
0 |
if (super.cachedTimeout != null) |
217 |
|
{ |
218 |
0 |
_call.setTimeout(super.cachedTimeout); |
219 |
|
} |
220 |
0 |
if (super.cachedPortName != null) |
221 |
|
{ |
222 |
0 |
_call.setPortName(super.cachedPortName); |
223 |
|
} |
224 |
0 |
java.util.Enumeration keys = super.cachedProperties.keys(); |
225 |
0 |
while (keys.hasMoreElements()) |
226 |
|
{ |
227 |
0 |
java.lang.String key = (java.lang.String) keys.nextElement(); |
228 |
0 |
_call.setProperty(key, super.cachedProperties.get(key)); |
229 |
|
} |
230 |
|
|
231 |
|
|
232 |
|
|
233 |
|
|
234 |
|
|
235 |
0 |
synchronized (this) |
236 |
|
{ |
237 |
0 |
if (firstCall()) |
238 |
|
{ |
239 |
|
|
240 |
0 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
241 |
0 |
_call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC); |
242 |
0 |
for (int i = 0; i < cachedSerFactories.size(); ++i) |
243 |
|
{ |
244 |
0 |
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); |
245 |
0 |
javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames |
246 |
|
.get(i); |
247 |
0 |
java.lang.Class sf = (java.lang.Class) cachedSerFactories |
248 |
|
.get(i); |
249 |
0 |
java.lang.Class df = (java.lang.Class) cachedDeserFactories |
250 |
|
.get(i); |
251 |
0 |
_call.registerTypeMapping(cls, qName, sf, df, false); |
252 |
|
} |
253 |
|
} |
254 |
|
} |
255 |
0 |
return _call; |
256 |
|
} catch (java.lang.Throwable _t) |
257 |
|
{ |
258 |
0 |
throw new org.apache.axis.AxisFault( |
259 |
|
"Failure trying to get the Call object", _t); |
260 |
|
} |
261 |
|
} |
262 |
|
|
|
|
| 0% |
Uncovered Elements: 21 (21) |
Complexity: 4 |
Complexity Density: 0.24 |
|
263 |
0 |
public java.lang.String predict(vamsas.objects.simple.Sequence seq)... |
264 |
|
throws java.rmi.RemoteException |
265 |
|
{ |
266 |
0 |
if (super.cachedEndpoint == null) |
267 |
|
{ |
268 |
0 |
throw new org.apache.axis.NoEndPointException(); |
269 |
|
} |
270 |
0 |
org.apache.axis.client.Call _call = createCall(); |
271 |
0 |
_call.setOperation(_operations[0]); |
272 |
0 |
_call.setUseSOAPAction(true); |
273 |
0 |
_call.setSOAPActionURI(""); |
274 |
0 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
275 |
0 |
_call.setOperationName(new javax.xml.namespace.QName("vamsas", |
276 |
|
"predict")); |
277 |
|
|
278 |
0 |
setRequestHeaders(_call); |
279 |
0 |
setAttachments(_call); |
280 |
0 |
java.lang.Object _resp = _call.invoke(new java.lang.Object[] { seq }); |
281 |
|
|
282 |
0 |
if (_resp instanceof java.rmi.RemoteException) |
283 |
|
{ |
284 |
0 |
throw (java.rmi.RemoteException) _resp; |
285 |
|
} |
286 |
|
else |
287 |
|
{ |
288 |
0 |
extractAttachments(_call); |
289 |
0 |
try |
290 |
|
{ |
291 |
0 |
return (java.lang.String) _resp; |
292 |
|
} catch (java.lang.Exception _exception) |
293 |
|
{ |
294 |
0 |
return (java.lang.String) org.apache.axis.utils.JavaUtils.convert( |
295 |
|
_resp, java.lang.String.class); |
296 |
|
} |
297 |
|
} |
298 |
|
} |
299 |
|
|
|
|
| 0% |
Uncovered Elements: 21 (21) |
Complexity: 4 |
Complexity Density: 0.24 |
|
300 |
0 |
public java.lang.String predictOnMsa(... |
301 |
|
vamsas.objects.simple.Msfalignment msf) |
302 |
|
throws java.rmi.RemoteException |
303 |
|
{ |
304 |
0 |
if (super.cachedEndpoint == null) |
305 |
|
{ |
306 |
0 |
throw new org.apache.axis.NoEndPointException(); |
307 |
|
} |
308 |
0 |
org.apache.axis.client.Call _call = createCall(); |
309 |
0 |
_call.setOperation(_operations[1]); |
310 |
0 |
_call.setUseSOAPAction(true); |
311 |
0 |
_call.setSOAPActionURI(""); |
312 |
0 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
313 |
0 |
_call.setOperationName(new javax.xml.namespace.QName("vamsas", |
314 |
|
"predictOnMsa")); |
315 |
|
|
316 |
0 |
setRequestHeaders(_call); |
317 |
0 |
setAttachments(_call); |
318 |
0 |
java.lang.Object _resp = _call.invoke(new java.lang.Object[] { msf }); |
319 |
|
|
320 |
0 |
if (_resp instanceof java.rmi.RemoteException) |
321 |
|
{ |
322 |
0 |
throw (java.rmi.RemoteException) _resp; |
323 |
|
} |
324 |
|
else |
325 |
|
{ |
326 |
0 |
extractAttachments(_call); |
327 |
0 |
try |
328 |
|
{ |
329 |
0 |
return (java.lang.String) _resp; |
330 |
|
} catch (java.lang.Exception _exception) |
331 |
|
{ |
332 |
0 |
return (java.lang.String) org.apache.axis.utils.JavaUtils.convert( |
333 |
|
_resp, java.lang.String.class); |
334 |
|
} |
335 |
|
} |
336 |
|
} |
337 |
|
|
|
|
| 0% |
Uncovered Elements: 21 (21) |
Complexity: 4 |
Complexity Density: 0.24 |
|
338 |
0 |
public vamsas.objects.simple.Secstructpred getpredict(... |
339 |
|
java.lang.String job_id) throws java.rmi.RemoteException |
340 |
|
{ |
341 |
0 |
if (super.cachedEndpoint == null) |
342 |
|
{ |
343 |
0 |
throw new org.apache.axis.NoEndPointException(); |
344 |
|
} |
345 |
0 |
org.apache.axis.client.Call _call = createCall(); |
346 |
0 |
_call.setOperation(_operations[2]); |
347 |
0 |
_call.setUseSOAPAction(true); |
348 |
0 |
_call.setSOAPActionURI(""); |
349 |
0 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
350 |
0 |
_call.setOperationName(new javax.xml.namespace.QName("vamsas", |
351 |
|
"getpredict")); |
352 |
|
|
353 |
0 |
setRequestHeaders(_call); |
354 |
0 |
setAttachments(_call); |
355 |
0 |
java.lang.Object _resp = _call |
356 |
|
.invoke(new java.lang.Object[] { job_id }); |
357 |
|
|
358 |
0 |
if (_resp instanceof java.rmi.RemoteException) |
359 |
|
{ |
360 |
0 |
throw (java.rmi.RemoteException) _resp; |
361 |
|
} |
362 |
|
else |
363 |
|
{ |
364 |
0 |
extractAttachments(_call); |
365 |
0 |
try |
366 |
|
{ |
367 |
0 |
return (vamsas.objects.simple.Secstructpred) _resp; |
368 |
|
} catch (java.lang.Exception _exception) |
369 |
|
{ |
370 |
0 |
return (vamsas.objects.simple.Secstructpred) org.apache.axis.utils.JavaUtils |
371 |
|
.convert(_resp, vamsas.objects.simple.Secstructpred.class); |
372 |
|
} |
373 |
|
} |
374 |
|
} |
375 |
|
|
|
|
| 0% |
Uncovered Elements: 21 (21) |
Complexity: 4 |
Complexity Density: 0.24 |
|
376 |
0 |
public vamsas.objects.simple.JpredResult getresult(java.lang.String job_id)... |
377 |
|
throws java.rmi.RemoteException |
378 |
|
{ |
379 |
0 |
if (super.cachedEndpoint == null) |
380 |
|
{ |
381 |
0 |
throw new org.apache.axis.NoEndPointException(); |
382 |
|
} |
383 |
0 |
org.apache.axis.client.Call _call = createCall(); |
384 |
0 |
_call.setOperation(_operations[3]); |
385 |
0 |
_call.setUseSOAPAction(true); |
386 |
0 |
_call.setSOAPActionURI(""); |
387 |
0 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
388 |
0 |
_call.setOperationName(new javax.xml.namespace.QName("vamsas", |
389 |
|
"getresult")); |
390 |
|
|
391 |
0 |
setRequestHeaders(_call); |
392 |
0 |
setAttachments(_call); |
393 |
0 |
java.lang.Object _resp = _call |
394 |
|
.invoke(new java.lang.Object[] { job_id }); |
395 |
|
|
396 |
0 |
if (_resp instanceof java.rmi.RemoteException) |
397 |
|
{ |
398 |
0 |
throw (java.rmi.RemoteException) _resp; |
399 |
|
} |
400 |
|
else |
401 |
|
{ |
402 |
0 |
extractAttachments(_call); |
403 |
0 |
try |
404 |
|
{ |
405 |
0 |
return (vamsas.objects.simple.JpredResult) _resp; |
406 |
|
} catch (java.lang.Exception _exception) |
407 |
|
{ |
408 |
0 |
return (vamsas.objects.simple.JpredResult) org.apache.axis.utils.JavaUtils |
409 |
|
.convert(_resp, vamsas.objects.simple.JpredResult.class); |
410 |
|
} |
411 |
|
} |
412 |
|
} |
413 |
|
|
414 |
|
} |