View Javadoc

1   /**
2    * ISRMStub.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package org.ogf.srm11.service;
9   
10  public class ISRMStub extends org.apache.axis.client.Stub implements org.ogf.srm11.service.ISRM {
11      private java.util.Vector cachedSerClasses = new java.util.Vector();
12      private java.util.Vector cachedSerQNames = new java.util.Vector();
13      private java.util.Vector cachedSerFactories = new java.util.Vector();
14      private java.util.Vector cachedDeserFactories = new java.util.Vector();
15  
16      static org.apache.axis.description.OperationDesc [] _operations;
17  
18      static {
19          _operations = new org.apache.axis.description.OperationDesc[14];
20          _initOperationDesc1();
21          _initOperationDesc2();
22      }
23  
24      private static void _initOperationDesc1(){
25          org.apache.axis.description.OperationDesc oper;
26          org.apache.axis.description.ParameterDesc param;
27          oper = new org.apache.axis.description.OperationDesc();
28          oper.setName("put");
29          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
30          oper.addParameter(param);
31          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
32          oper.addParameter(param);
33          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg2"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/", "ArrayOflong"), long[].class, false, false);
34          oper.addParameter(param);
35          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg3"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/", "ArrayOfboolean"), boolean[].class, false, false);
36          oper.addParameter(param);
37          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg4"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
38          oper.addParameter(param);
39          oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
40          oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
41          oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
42          oper.setStyle(org.apache.axis.constants.Style.RPC);
43          oper.setUse(org.apache.axis.constants.Use.ENCODED);
44          _operations[0] = oper;
45  
46          oper = new org.apache.axis.description.OperationDesc();
47          oper.setName("get");
48          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
49          oper.addParameter(param);
50          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
51          oper.addParameter(param);
52          oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
53          oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
54          oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
55          oper.setStyle(org.apache.axis.constants.Style.RPC);
56          oper.setUse(org.apache.axis.constants.Use.ENCODED);
57          _operations[1] = oper;
58  
59          oper = new org.apache.axis.description.OperationDesc();
60          oper.setName("copy");
61          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
62          oper.addParameter(param);
63          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
64          oper.addParameter(param);
65          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg2"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/", "ArrayOfboolean"), boolean[].class, false, false);
66          oper.addParameter(param);
67          oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
68          oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
69          oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
70          oper.setStyle(org.apache.axis.constants.Style.RPC);
71          oper.setUse(org.apache.axis.constants.Use.ENCODED);
72          _operations[2] = oper;
73  
74          oper = new org.apache.axis.description.OperationDesc();
75          oper.setName("ping");
76          oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
77          oper.setReturnClass(boolean.class);
78          oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
79          oper.setStyle(org.apache.axis.constants.Style.RPC);
80          oper.setUse(org.apache.axis.constants.Use.ENCODED);
81          _operations[3] = oper;
82  
83          oper = new org.apache.axis.description.OperationDesc();
84          oper.setName("pin");
85          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
86          oper.addParameter(param);
87          oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
88          oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
89          oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
90          oper.setStyle(org.apache.axis.constants.Style.RPC);
91          oper.setUse(org.apache.axis.constants.Use.ENCODED);
92          _operations[4] = oper;
93  
94          oper = new org.apache.axis.description.OperationDesc();
95          oper.setName("unPin");
96          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
97          oper.addParameter(param);
98          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
99          oper.addParameter(param);
100         oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
101         oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
102         oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
103         oper.setStyle(org.apache.axis.constants.Style.RPC);
104         oper.setUse(org.apache.axis.constants.Use.ENCODED);
105         _operations[5] = oper;
106 
107         oper = new org.apache.axis.description.OperationDesc();
108         oper.setName("setFileStatus");
109         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
110         oper.addParameter(param);
111         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
112         oper.addParameter(param);
113         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg2"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
114         oper.addParameter(param);
115         oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
116         oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
117         oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
118         oper.setStyle(org.apache.axis.constants.Style.RPC);
119         oper.setUse(org.apache.axis.constants.Use.ENCODED);
120         _operations[6] = oper;
121 
122         oper = new org.apache.axis.description.OperationDesc();
123         oper.setName("getRequestStatus");
124         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
125         oper.addParameter(param);
126         oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
127         oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
128         oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
129         oper.setStyle(org.apache.axis.constants.Style.RPC);
130         oper.setUse(org.apache.axis.constants.Use.ENCODED);
131         _operations[7] = oper;
132 
133         oper = new org.apache.axis.description.OperationDesc();
134         oper.setName("getFileMetaData");
135         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
136         oper.addParameter(param);
137         oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "ArrayOfFileMetaData"));
138         oper.setReturnClass(org.ogf.srm11.bean.FileMetaData[].class);
139         oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
140         oper.setStyle(org.apache.axis.constants.Style.RPC);
141         oper.setUse(org.apache.axis.constants.Use.ENCODED);
142         _operations[8] = oper;
143 
144         oper = new org.apache.axis.description.OperationDesc();
145         oper.setName("mkPermanent");
146         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
147         oper.addParameter(param);
148         oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
149         oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
150         oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
151         oper.setStyle(org.apache.axis.constants.Style.RPC);
152         oper.setUse(org.apache.axis.constants.Use.ENCODED);
153         _operations[9] = oper;
154 
155     }
156 
157     private static void _initOperationDesc2(){
158         org.apache.axis.description.OperationDesc oper;
159         org.apache.axis.description.ParameterDesc param;
160         oper = new org.apache.axis.description.OperationDesc();
161         oper.setName("getEstGetTime");
162         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
163         oper.addParameter(param);
164         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
165         oper.addParameter(param);
166         oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
167         oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
168         oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
169         oper.setStyle(org.apache.axis.constants.Style.RPC);
170         oper.setUse(org.apache.axis.constants.Use.ENCODED);
171         _operations[10] = oper;
172 
173         oper = new org.apache.axis.description.OperationDesc();
174         oper.setName("getEstPutTime");
175         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
176         oper.addParameter(param);
177         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
178         oper.addParameter(param);
179         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg2"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/", "ArrayOflong"), long[].class, false, false);
180         oper.addParameter(param);
181         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg3"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/", "ArrayOfboolean"), boolean[].class, false, false);
182         oper.addParameter(param);
183         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg4"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
184         oper.addParameter(param);
185         oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus"));
186         oper.setReturnClass(org.ogf.srm11.bean.RequestStatus.class);
187         oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
188         oper.setStyle(org.apache.axis.constants.Style.RPC);
189         oper.setUse(org.apache.axis.constants.Use.ENCODED);
190         _operations[11] = oper;
191 
192         oper = new org.apache.axis.description.OperationDesc();
193         oper.setName("advisoryDelete");
194         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"), java.lang.String[].class, false, false);
195         oper.addParameter(param);
196         oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
197         oper.setStyle(org.apache.axis.constants.Style.RPC);
198         oper.setUse(org.apache.axis.constants.Use.ENCODED);
199         _operations[12] = oper;
200 
201         oper = new org.apache.axis.description.OperationDesc();
202         oper.setName("getProtocols");
203         oper.setReturnType(new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring"));
204         oper.setReturnClass(java.lang.String[].class);
205         oper.setReturnQName(new javax.xml.namespace.QName("", "Result"));
206         oper.setStyle(org.apache.axis.constants.Style.RPC);
207         oper.setUse(org.apache.axis.constants.Use.ENCODED);
208         _operations[13] = oper;
209 
210     }
211 
212     public ISRMStub() throws org.apache.axis.AxisFault {
213          this(null);
214     }
215 
216     public ISRMStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
217          this(service);
218          super.cachedEndpoint = endpointURL;
219     }
220 
221     public ISRMStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
222         if (service == null) {
223             super.service = new org.apache.axis.client.Service();
224         } else {
225             super.service = service;
226         }
227         ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
228             java.lang.Class cls;
229             javax.xml.namespace.QName qName;
230             javax.xml.namespace.QName qName2;
231             java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
232             java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
233             java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
234             java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
235             java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
236             java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
237             java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
238             java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
239             java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
240             java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
241             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "ArrayOfFileMetaData");
242             cachedSerQNames.add(qName);
243             cls = org.ogf.srm11.bean.FileMetaData[].class;
244             cachedSerClasses.add(cls);
245             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "FileMetaData");
246             qName2 = null;
247             cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
248             cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
249 
250             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "ArrayOfRequestFileStatus");
251             cachedSerQNames.add(qName);
252             cls = org.ogf.srm11.bean.RequestFileStatus[].class;
253             cachedSerClasses.add(cls);
254             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestFileStatus");
255             qName2 = null;
256             cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
257             cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
258 
259             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "FileMetaData");
260             cachedSerQNames.add(qName);
261             cls = org.ogf.srm11.bean.FileMetaData.class;
262             cachedSerClasses.add(cls);
263             cachedSerFactories.add(beansf);
264             cachedDeserFactories.add(beandf);
265 
266             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestFileStatus");
267             cachedSerQNames.add(qName);
268             cls = org.ogf.srm11.bean.RequestFileStatus.class;
269             cachedSerClasses.add(cls);
270             cachedSerFactories.add(beansf);
271             cachedDeserFactories.add(beandf);
272 
273             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/diskCacheV111.srm/", "RequestStatus");
274             cachedSerQNames.add(qName);
275             cls = org.ogf.srm11.bean.RequestStatus.class;
276             cachedSerClasses.add(cls);
277             cachedSerFactories.add(beansf);
278             cachedDeserFactories.add(beandf);
279 
280             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/java.lang/", "ArrayOfstring");
281             cachedSerQNames.add(qName);
282             cls = java.lang.String[].class;
283             cachedSerClasses.add(cls);
284             qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string");
285             qName2 = null;
286             cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
287             cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
288 
289             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/", "ArrayOfboolean");
290             cachedSerQNames.add(qName);
291             cls = boolean[].class;
292             cachedSerClasses.add(cls);
293             qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean");
294             qName2 = null;
295             cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
296             cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
297 
298             qName = new javax.xml.namespace.QName("http://www.themindelectric.com/package/", "ArrayOflong");
299             cachedSerQNames.add(qName);
300             cls = long[].class;
301             cachedSerClasses.add(cls);
302             qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long");
303             qName2 = null;
304             cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
305             cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
306 
307     }
308 
309     protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
310         try {
311             org.apache.axis.client.Call _call = super._createCall();
312             if (super.maintainSessionSet) {
313                 _call.setMaintainSession(super.maintainSession);
314             }
315             if (super.cachedUsername != null) {
316                 _call.setUsername(super.cachedUsername);
317             }
318             if (super.cachedPassword != null) {
319                 _call.setPassword(super.cachedPassword);
320             }
321             if (super.cachedEndpoint != null) {
322                 _call.setTargetEndpointAddress(super.cachedEndpoint);
323             }
324             if (super.cachedTimeout != null) {
325                 _call.setTimeout(super.cachedTimeout);
326             }
327             if (super.cachedPortName != null) {
328                 _call.setPortName(super.cachedPortName);
329             }
330             java.util.Enumeration keys = super.cachedProperties.keys();
331             while (keys.hasMoreElements()) {
332                 java.lang.String key = (java.lang.String) keys.nextElement();
333                 _call.setProperty(key, super.cachedProperties.get(key));
334             }
335             // All the type mapping information is registered
336             // when the first call is made.
337             // The type mapping information is actually registered in
338             // the TypeMappingRegistry of the service, which
339             // is the reason why registration is only needed for the first call.
340             synchronized (this) {
341                 if (firstCall()) {
342                     // must set encoding style before registering serializers
343                     _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
344                     _call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC);
345                     for (int i = 0; i < cachedSerFactories.size(); ++i) {
346                         java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
347                         javax.xml.namespace.QName qName =
348                                 (javax.xml.namespace.QName) cachedSerQNames.get(i);
349                         java.lang.Object x = cachedSerFactories.get(i);
350                         if (x instanceof Class) {
351                             java.lang.Class sf = (java.lang.Class)
352                                  cachedSerFactories.get(i);
353                             java.lang.Class df = (java.lang.Class)
354                                  cachedDeserFactories.get(i);
355                             _call.registerTypeMapping(cls, qName, sf, df, false);
356                         }
357                         else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
358                             org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
359                                  cachedSerFactories.get(i);
360                             org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
361                                  cachedDeserFactories.get(i);
362                             _call.registerTypeMapping(cls, qName, sf, df, false);
363                         }
364                     }
365                 }
366             }
367             return _call;
368         }
369         catch (java.lang.Throwable _t) {
370             throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
371         }
372     }
373 
374     public org.ogf.srm11.bean.RequestStatus put(java.lang.String[] arg0, java.lang.String[] arg1, long[] arg2, boolean[] arg3, java.lang.String[] arg4) throws java.rmi.RemoteException {
375         if (super.cachedEndpoint == null) {
376             throw new org.apache.axis.NoEndPointException();
377         }
378         org.apache.axis.client.Call _call = createCall();
379         _call.setOperation(_operations[0]);
380         _call.setUseSOAPAction(true);
381         _call.setSOAPActionURI("put");
382         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
383         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "put"));
384 
385         setRequestHeaders(_call);
386         setAttachments(_call);
387  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1, arg2, arg3, arg4});
388 
389         if (_resp instanceof java.rmi.RemoteException) {
390             throw (java.rmi.RemoteException)_resp;
391         }
392         else {
393             extractAttachments(_call);
394             try {
395                 return (org.ogf.srm11.bean.RequestStatus) _resp;
396             } catch (java.lang.Exception _exception) {
397                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
398             }
399         }
400   } catch (org.apache.axis.AxisFault axisFaultException) {
401   throw axisFaultException;
402 }
403     }
404 
405     public org.ogf.srm11.bean.RequestStatus get(java.lang.String[] arg0, java.lang.String[] arg1) throws java.rmi.RemoteException {
406         if (super.cachedEndpoint == null) {
407             throw new org.apache.axis.NoEndPointException();
408         }
409         org.apache.axis.client.Call _call = createCall();
410         _call.setOperation(_operations[1]);
411         _call.setUseSOAPAction(true);
412         _call.setSOAPActionURI("get");
413         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
414         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "get"));
415 
416         setRequestHeaders(_call);
417         setAttachments(_call);
418  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1});
419 
420         if (_resp instanceof java.rmi.RemoteException) {
421             throw (java.rmi.RemoteException)_resp;
422         }
423         else {
424             extractAttachments(_call);
425             try {
426                 return (org.ogf.srm11.bean.RequestStatus) _resp;
427             } catch (java.lang.Exception _exception) {
428                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
429             }
430         }
431   } catch (org.apache.axis.AxisFault axisFaultException) {
432   throw axisFaultException;
433 }
434     }
435 
436     public org.ogf.srm11.bean.RequestStatus copy(java.lang.String[] arg0, java.lang.String[] arg1, boolean[] arg2) throws java.rmi.RemoteException {
437         if (super.cachedEndpoint == null) {
438             throw new org.apache.axis.NoEndPointException();
439         }
440         org.apache.axis.client.Call _call = createCall();
441         _call.setOperation(_operations[2]);
442         _call.setUseSOAPAction(true);
443         _call.setSOAPActionURI("copy");
444         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
445         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "copy"));
446 
447         setRequestHeaders(_call);
448         setAttachments(_call);
449  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1, arg2});
450 
451         if (_resp instanceof java.rmi.RemoteException) {
452             throw (java.rmi.RemoteException)_resp;
453         }
454         else {
455             extractAttachments(_call);
456             try {
457                 return (org.ogf.srm11.bean.RequestStatus) _resp;
458             } catch (java.lang.Exception _exception) {
459                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
460             }
461         }
462   } catch (org.apache.axis.AxisFault axisFaultException) {
463   throw axisFaultException;
464 }
465     }
466 
467     public boolean ping() throws java.rmi.RemoteException {
468         if (super.cachedEndpoint == null) {
469             throw new org.apache.axis.NoEndPointException();
470         }
471         org.apache.axis.client.Call _call = createCall();
472         _call.setOperation(_operations[3]);
473         _call.setUseSOAPAction(true);
474         _call.setSOAPActionURI("ping");
475         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
476         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "ping"));
477 
478         setRequestHeaders(_call);
479         setAttachments(_call);
480  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
481 
482         if (_resp instanceof java.rmi.RemoteException) {
483             throw (java.rmi.RemoteException)_resp;
484         }
485         else {
486             extractAttachments(_call);
487             try {
488                 return ((java.lang.Boolean) _resp).booleanValue();
489             } catch (java.lang.Exception _exception) {
490                 return ((java.lang.Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue();
491             }
492         }
493   } catch (org.apache.axis.AxisFault axisFaultException) {
494   throw axisFaultException;
495 }
496     }
497 
498     public org.ogf.srm11.bean.RequestStatus pin(java.lang.String[] arg0) throws java.rmi.RemoteException {
499         if (super.cachedEndpoint == null) {
500             throw new org.apache.axis.NoEndPointException();
501         }
502         org.apache.axis.client.Call _call = createCall();
503         _call.setOperation(_operations[4]);
504         _call.setUseSOAPAction(true);
505         _call.setSOAPActionURI("pin");
506         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
507         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "pin"));
508 
509         setRequestHeaders(_call);
510         setAttachments(_call);
511  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0});
512 
513         if (_resp instanceof java.rmi.RemoteException) {
514             throw (java.rmi.RemoteException)_resp;
515         }
516         else {
517             extractAttachments(_call);
518             try {
519                 return (org.ogf.srm11.bean.RequestStatus) _resp;
520             } catch (java.lang.Exception _exception) {
521                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
522             }
523         }
524   } catch (org.apache.axis.AxisFault axisFaultException) {
525   throw axisFaultException;
526 }
527     }
528 
529     public org.ogf.srm11.bean.RequestStatus unPin(java.lang.String[] arg0, int arg1) throws java.rmi.RemoteException {
530         if (super.cachedEndpoint == null) {
531             throw new org.apache.axis.NoEndPointException();
532         }
533         org.apache.axis.client.Call _call = createCall();
534         _call.setOperation(_operations[5]);
535         _call.setUseSOAPAction(true);
536         _call.setSOAPActionURI("unPin");
537         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
538         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "unPin"));
539 
540         setRequestHeaders(_call);
541         setAttachments(_call);
542  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, new java.lang.Integer(arg1)});
543 
544         if (_resp instanceof java.rmi.RemoteException) {
545             throw (java.rmi.RemoteException)_resp;
546         }
547         else {
548             extractAttachments(_call);
549             try {
550                 return (org.ogf.srm11.bean.RequestStatus) _resp;
551             } catch (java.lang.Exception _exception) {
552                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
553             }
554         }
555   } catch (org.apache.axis.AxisFault axisFaultException) {
556   throw axisFaultException;
557 }
558     }
559 
560     public org.ogf.srm11.bean.RequestStatus setFileStatus(int arg0, int arg1, java.lang.String arg2) throws java.rmi.RemoteException {
561         if (super.cachedEndpoint == null) {
562             throw new org.apache.axis.NoEndPointException();
563         }
564         org.apache.axis.client.Call _call = createCall();
565         _call.setOperation(_operations[6]);
566         _call.setUseSOAPAction(true);
567         _call.setSOAPActionURI("setFileStatus");
568         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
569         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "setFileStatus"));
570 
571         setRequestHeaders(_call);
572         setAttachments(_call);
573  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Integer(arg0), new java.lang.Integer(arg1), arg2});
574 
575         if (_resp instanceof java.rmi.RemoteException) {
576             throw (java.rmi.RemoteException)_resp;
577         }
578         else {
579             extractAttachments(_call);
580             try {
581                 return (org.ogf.srm11.bean.RequestStatus) _resp;
582             } catch (java.lang.Exception _exception) {
583                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
584             }
585         }
586   } catch (org.apache.axis.AxisFault axisFaultException) {
587   throw axisFaultException;
588 }
589     }
590 
591     public org.ogf.srm11.bean.RequestStatus getRequestStatus(int arg0) throws java.rmi.RemoteException {
592         if (super.cachedEndpoint == null) {
593             throw new org.apache.axis.NoEndPointException();
594         }
595         org.apache.axis.client.Call _call = createCall();
596         _call.setOperation(_operations[7]);
597         _call.setUseSOAPAction(true);
598         _call.setSOAPActionURI("getRequestStatus");
599         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
600         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "getRequestStatus"));
601 
602         setRequestHeaders(_call);
603         setAttachments(_call);
604  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Integer(arg0)});
605 
606         if (_resp instanceof java.rmi.RemoteException) {
607             throw (java.rmi.RemoteException)_resp;
608         }
609         else {
610             extractAttachments(_call);
611             try {
612                 return (org.ogf.srm11.bean.RequestStatus) _resp;
613             } catch (java.lang.Exception _exception) {
614                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
615             }
616         }
617   } catch (org.apache.axis.AxisFault axisFaultException) {
618   throw axisFaultException;
619 }
620     }
621 
622     public org.ogf.srm11.bean.FileMetaData[] getFileMetaData(java.lang.String[] arg0) throws java.rmi.RemoteException {
623         if (super.cachedEndpoint == null) {
624             throw new org.apache.axis.NoEndPointException();
625         }
626         org.apache.axis.client.Call _call = createCall();
627         _call.setOperation(_operations[8]);
628         _call.setUseSOAPAction(true);
629         _call.setSOAPActionURI("getFileMetaData");
630         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
631         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "getFileMetaData"));
632 
633         setRequestHeaders(_call);
634         setAttachments(_call);
635  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0});
636 
637         if (_resp instanceof java.rmi.RemoteException) {
638             throw (java.rmi.RemoteException)_resp;
639         }
640         else {
641             extractAttachments(_call);
642             try {
643                 return (org.ogf.srm11.bean.FileMetaData[]) _resp;
644             } catch (java.lang.Exception _exception) {
645                 return (org.ogf.srm11.bean.FileMetaData[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.FileMetaData[].class);
646             }
647         }
648   } catch (org.apache.axis.AxisFault axisFaultException) {
649   throw axisFaultException;
650 }
651     }
652 
653     public org.ogf.srm11.bean.RequestStatus mkPermanent(java.lang.String[] arg0) throws java.rmi.RemoteException {
654         if (super.cachedEndpoint == null) {
655             throw new org.apache.axis.NoEndPointException();
656         }
657         org.apache.axis.client.Call _call = createCall();
658         _call.setOperation(_operations[9]);
659         _call.setUseSOAPAction(true);
660         _call.setSOAPActionURI("mkPermanent");
661         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
662         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "mkPermanent"));
663 
664         setRequestHeaders(_call);
665         setAttachments(_call);
666  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0});
667 
668         if (_resp instanceof java.rmi.RemoteException) {
669             throw (java.rmi.RemoteException)_resp;
670         }
671         else {
672             extractAttachments(_call);
673             try {
674                 return (org.ogf.srm11.bean.RequestStatus) _resp;
675             } catch (java.lang.Exception _exception) {
676                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
677             }
678         }
679   } catch (org.apache.axis.AxisFault axisFaultException) {
680   throw axisFaultException;
681 }
682     }
683 
684     public org.ogf.srm11.bean.RequestStatus getEstGetTime(java.lang.String[] arg0, java.lang.String[] arg1) throws java.rmi.RemoteException {
685         if (super.cachedEndpoint == null) {
686             throw new org.apache.axis.NoEndPointException();
687         }
688         org.apache.axis.client.Call _call = createCall();
689         _call.setOperation(_operations[10]);
690         _call.setUseSOAPAction(true);
691         _call.setSOAPActionURI("getEstGetTime");
692         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
693         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "getEstGetTime"));
694 
695         setRequestHeaders(_call);
696         setAttachments(_call);
697  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1});
698 
699         if (_resp instanceof java.rmi.RemoteException) {
700             throw (java.rmi.RemoteException)_resp;
701         }
702         else {
703             extractAttachments(_call);
704             try {
705                 return (org.ogf.srm11.bean.RequestStatus) _resp;
706             } catch (java.lang.Exception _exception) {
707                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
708             }
709         }
710   } catch (org.apache.axis.AxisFault axisFaultException) {
711   throw axisFaultException;
712 }
713     }
714 
715     public org.ogf.srm11.bean.RequestStatus getEstPutTime(java.lang.String[] arg0, java.lang.String[] arg1, long[] arg2, boolean[] arg3, java.lang.String[] arg4) throws java.rmi.RemoteException {
716         if (super.cachedEndpoint == null) {
717             throw new org.apache.axis.NoEndPointException();
718         }
719         org.apache.axis.client.Call _call = createCall();
720         _call.setOperation(_operations[11]);
721         _call.setUseSOAPAction(true);
722         _call.setSOAPActionURI("getEstPutTime");
723         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
724         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "getEstPutTime"));
725 
726         setRequestHeaders(_call);
727         setAttachments(_call);
728  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1, arg2, arg3, arg4});
729 
730         if (_resp instanceof java.rmi.RemoteException) {
731             throw (java.rmi.RemoteException)_resp;
732         }
733         else {
734             extractAttachments(_call);
735             try {
736                 return (org.ogf.srm11.bean.RequestStatus) _resp;
737             } catch (java.lang.Exception _exception) {
738                 return (org.ogf.srm11.bean.RequestStatus) org.apache.axis.utils.JavaUtils.convert(_resp, org.ogf.srm11.bean.RequestStatus.class);
739             }
740         }
741   } catch (org.apache.axis.AxisFault axisFaultException) {
742   throw axisFaultException;
743 }
744     }
745 
746     public void advisoryDelete(java.lang.String[] arg0) throws java.rmi.RemoteException {
747         if (super.cachedEndpoint == null) {
748             throw new org.apache.axis.NoEndPointException();
749         }
750         org.apache.axis.client.Call _call = createCall();
751         _call.setOperation(_operations[12]);
752         _call.setUseSOAPAction(true);
753         _call.setSOAPActionURI("advisoryDelete");
754         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
755         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "advisoryDelete"));
756 
757         setRequestHeaders(_call);
758         setAttachments(_call);
759  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0});
760 
761         if (_resp instanceof java.rmi.RemoteException) {
762             throw (java.rmi.RemoteException)_resp;
763         }
764         extractAttachments(_call);
765   } catch (org.apache.axis.AxisFault axisFaultException) {
766   throw axisFaultException;
767 }
768     }
769 
770     public java.lang.String[] getProtocols() throws java.rmi.RemoteException {
771         if (super.cachedEndpoint == null) {
772             throw new org.apache.axis.NoEndPointException();
773         }
774         org.apache.axis.client.Call _call = createCall();
775         _call.setOperation(_operations[13]);
776         _call.setUseSOAPAction(true);
777         _call.setSOAPActionURI("getProtocols");
778         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
779         _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/diskCacheV111.srm.server.SRMServerV1", "getProtocols"));
780 
781         setRequestHeaders(_call);
782         setAttachments(_call);
783  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
784 
785         if (_resp instanceof java.rmi.RemoteException) {
786             throw (java.rmi.RemoteException)_resp;
787         }
788         else {
789             extractAttachments(_call);
790             try {
791                 return (java.lang.String[]) _resp;
792             } catch (java.lang.Exception _exception) {
793                 return (java.lang.String[]) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String[].class);
794             }
795         }
796   } catch (org.apache.axis.AxisFault axisFaultException) {
797   throw axisFaultException;
798 }
799     }
800 
801 }