Source Code Cross Referenced for SQLFileAttachmentSoapBindingStub.java in  » Test-Coverage » salome-tmf » org » objectweb » salome_tmf » soap » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Test Coverage » salome tmf » org.objectweb.salome_tmf.soap 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * SQLFileAttachmentSoapBindingStub.java
003:         *
004:         * This file was auto-generated from WSDL
005:         * by the Apache Axis 1.4 Nov 19, 2006 (02:31:34 GMT+00:00) WSDL2Java emitter.
006:         */package org.objectweb.salome_tmf.soap;
007:
008:        import org.objectweb.salome_tmf.api.data.SalomeFileWrapper;
009:        import org.objectweb.salome_tmf.api.sql.ISQLFileAttachment;
010:
011:        public class SQLFileAttachmentSoapBindingStub extends StubClient
012:                implements  ISQLFileAttachment {
013:            private java.util.Vector cachedSerClasses = new java.util.Vector();
014:            private java.util.Vector cachedSerQNames = new java.util.Vector();
015:            private java.util.Vector cachedSerFactories = new java.util.Vector();
016:            private java.util.Vector cachedDeserFactories = new java.util.Vector();
017:
018:            static org.apache.axis.description.OperationDesc[] _operations;
019:
020:            static {
021:                _operations = new org.apache.axis.description.OperationDesc[12];
022:                _initOperationDesc1();
023:                _initOperationDesc2();
024:            }
025:
026:            private static void _initOperationDesc1() {
027:                org.apache.axis.description.OperationDesc oper;
028:                org.apache.axis.description.ParameterDesc param;
029:                oper = new org.apache.axis.description.OperationDesc();
030:                oper.setName("updateFile");
031:                param = new org.apache.axis.description.ParameterDesc(
032:                        new javax.xml.namespace.QName("", "in0"),
033:                        org.apache.axis.description.ParameterDesc.IN,
034:                        new javax.xml.namespace.QName(
035:                                "http://www.w3.org/2001/XMLSchema", "int"),
036:                        int.class, false, false);
037:                oper.addParameter(param);
038:                param = new org.apache.axis.description.ParameterDesc(
039:                        new javax.xml.namespace.QName("", "in1"),
040:                        org.apache.axis.description.ParameterDesc.IN,
041:                        new javax.xml.namespace.QName(
042:                                "http://data.api.salome_tmf.objectweb.org",
043:                                "SalomeFileWrapper"), SalomeFileWrapper.class,
044:                        false, false);
045:                oper.addParameter(param);
046:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
047:                oper.setStyle(org.apache.axis.constants.Style.RPC);
048:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
049:                _operations[0] = oper;
050:
051:                oper = new org.apache.axis.description.OperationDesc();
052:                oper.setName("updateFileName");
053:                param = new org.apache.axis.description.ParameterDesc(
054:                        new javax.xml.namespace.QName("", "in0"),
055:                        org.apache.axis.description.ParameterDesc.IN,
056:                        new javax.xml.namespace.QName(
057:                                "http://www.w3.org/2001/XMLSchema", "int"),
058:                        int.class, false, false);
059:                oper.addParameter(param);
060:                param = new org.apache.axis.description.ParameterDesc(
061:                        new javax.xml.namespace.QName("", "in1"),
062:                        org.apache.axis.description.ParameterDesc.IN,
063:                        new javax.xml.namespace.QName(
064:                                "http://www.w3.org/2001/XMLSchema", "string"),
065:                        java.lang.String.class, false, false);
066:                oper.addParameter(param);
067:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
068:                oper.setStyle(org.apache.axis.constants.Style.RPC);
069:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
070:                _operations[1] = oper;
071:
072:                oper = new org.apache.axis.description.OperationDesc();
073:                oper.setName("updateFileContent");
074:                param = new org.apache.axis.description.ParameterDesc(
075:                        new javax.xml.namespace.QName("", "in0"),
076:                        org.apache.axis.description.ParameterDesc.IN,
077:                        new javax.xml.namespace.QName(
078:                                "http://www.w3.org/2001/XMLSchema", "int"),
079:                        int.class, false, false);
080:                oper.addParameter(param);
081:                param = new org.apache.axis.description.ParameterDesc(
082:                        new javax.xml.namespace.QName("", "in1"),
083:                        org.apache.axis.description.ParameterDesc.IN,
084:                        new javax.xml.namespace.QName(
085:                                "http://www.w3.org/2001/XMLSchema",
086:                                "base64Binary"), byte[].class, false, false);
087:                oper.addParameter(param);
088:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
089:                oper.setStyle(org.apache.axis.constants.Style.RPC);
090:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
091:                _operations[2] = oper;
092:
093:                oper = new org.apache.axis.description.OperationDesc();
094:                oper.setName("updateFileDate");
095:                param = new org.apache.axis.description.ParameterDesc(
096:                        new javax.xml.namespace.QName("", "in0"),
097:                        org.apache.axis.description.ParameterDesc.IN,
098:                        new javax.xml.namespace.QName(
099:                                "http://www.w3.org/2001/XMLSchema", "int"),
100:                        int.class, false, false);
101:                oper.addParameter(param);
102:                param = new org.apache.axis.description.ParameterDesc(
103:                        new javax.xml.namespace.QName("", "in1"),
104:                        org.apache.axis.description.ParameterDesc.IN,
105:                        new javax.xml.namespace.QName(
106:                                "http://www.w3.org/2001/XMLSchema", "date"),
107:                        java.util.Date.class, false, false);
108:                oper.addParameter(param);
109:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
110:                oper.setStyle(org.apache.axis.constants.Style.RPC);
111:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
112:                _operations[3] = oper;
113:
114:                oper = new org.apache.axis.description.OperationDesc();
115:                oper.setName("updateFileLength");
116:                param = new org.apache.axis.description.ParameterDesc(
117:                        new javax.xml.namespace.QName("", "in0"),
118:                        org.apache.axis.description.ParameterDesc.IN,
119:                        new javax.xml.namespace.QName(
120:                                "http://www.w3.org/2001/XMLSchema", "int"),
121:                        int.class, false, false);
122:                oper.addParameter(param);
123:                param = new org.apache.axis.description.ParameterDesc(
124:                        new javax.xml.namespace.QName("", "in1"),
125:                        org.apache.axis.description.ParameterDesc.IN,
126:                        new javax.xml.namespace.QName(
127:                                "http://www.w3.org/2001/XMLSchema", "long"),
128:                        long.class, false, false);
129:                oper.addParameter(param);
130:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
131:                oper.setStyle(org.apache.axis.constants.Style.RPC);
132:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
133:                _operations[4] = oper;
134:
135:                oper = new org.apache.axis.description.OperationDesc();
136:                oper.setName("getFileIn");
137:                param = new org.apache.axis.description.ParameterDesc(
138:                        new javax.xml.namespace.QName("", "in0"),
139:                        org.apache.axis.description.ParameterDesc.IN,
140:                        new javax.xml.namespace.QName(
141:                                "http://www.w3.org/2001/XMLSchema", "int"),
142:                        int.class, false, false);
143:                oper.addParameter(param);
144:                param = new org.apache.axis.description.ParameterDesc(
145:                        new javax.xml.namespace.QName("", "in1"),
146:                        org.apache.axis.description.ParameterDesc.IN,
147:                        new javax.xml.namespace.QName(
148:                                "http://data.api.salome_tmf.objectweb.org",
149:                                "SalomeFileWrapper"), SalomeFileWrapper.class,
150:                        false, false);
151:                oper.addParameter(param);
152:                oper.setReturnType(new javax.xml.namespace.QName(
153:                        "http://data.api.salome_tmf.objectweb.org",
154:                        "SalomeFileWrapper"));
155:                oper.setReturnClass(SalomeFileWrapper.class);
156:                oper.setReturnQName(new javax.xml.namespace.QName("",
157:                        "getFileInReturn"));
158:                oper.setStyle(org.apache.axis.constants.Style.RPC);
159:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
160:                _operations[5] = oper;
161:
162:                oper = new org.apache.axis.description.OperationDesc();
163:                oper.setName("insert");
164:                param = new org.apache.axis.description.ParameterDesc(
165:                        new javax.xml.namespace.QName("", "in0"),
166:                        org.apache.axis.description.ParameterDesc.IN,
167:                        new javax.xml.namespace.QName(
168:                                "http://data.api.salome_tmf.objectweb.org",
169:                                "SalomeFileWrapper"), SalomeFileWrapper.class,
170:                        false, false);
171:                oper.addParameter(param);
172:                param = new org.apache.axis.description.ParameterDesc(
173:                        new javax.xml.namespace.QName("", "in1"),
174:                        org.apache.axis.description.ParameterDesc.IN,
175:                        new javax.xml.namespace.QName(
176:                                "http://www.w3.org/2001/XMLSchema", "string"),
177:                        java.lang.String.class, false, false);
178:                oper.addParameter(param);
179:                oper.setReturnType(new javax.xml.namespace.QName(
180:                        "http://www.w3.org/2001/XMLSchema", "int"));
181:                oper.setReturnClass(int.class);
182:                oper.setReturnQName(new javax.xml.namespace.QName("",
183:                        "insertReturn"));
184:                oper.setStyle(org.apache.axis.constants.Style.RPC);
185:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
186:                _operations[6] = oper;
187:
188:                oper = new org.apache.axis.description.OperationDesc();
189:                oper.setName("getFile");
190:                param = new org.apache.axis.description.ParameterDesc(
191:                        new javax.xml.namespace.QName("", "in0"),
192:                        org.apache.axis.description.ParameterDesc.IN,
193:                        new javax.xml.namespace.QName(
194:                                "http://www.w3.org/2001/XMLSchema", "int"),
195:                        int.class, false, false);
196:                oper.addParameter(param);
197:                oper.setReturnType(new javax.xml.namespace.QName(
198:                        "http://data.api.salome_tmf.objectweb.org",
199:                        "SalomeFileWrapper"));
200:                oper.setReturnClass(SalomeFileWrapper.class);
201:                oper.setReturnQName(new javax.xml.namespace.QName("",
202:                        "getFileReturn"));
203:                oper.setStyle(org.apache.axis.constants.Style.RPC);
204:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
205:                _operations[7] = oper;
206:
207:                oper = new org.apache.axis.description.OperationDesc();
208:                oper.setName("getFile");
209:                param = new org.apache.axis.description.ParameterDesc(
210:                        new javax.xml.namespace.QName("", "in0"),
211:                        org.apache.axis.description.ParameterDesc.IN,
212:                        new javax.xml.namespace.QName(
213:                                "http://www.w3.org/2001/XMLSchema", "int"),
214:                        int.class, false, false);
215:                oper.addParameter(param);
216:                param = new org.apache.axis.description.ParameterDesc(
217:                        new javax.xml.namespace.QName("", "in1"),
218:                        org.apache.axis.description.ParameterDesc.IN,
219:                        new javax.xml.namespace.QName(
220:                                "http://www.w3.org/2001/XMLSchema", "string"),
221:                        java.lang.String.class, false, false);
222:                oper.addParameter(param);
223:                oper.setReturnType(new javax.xml.namespace.QName(
224:                        "http://data.api.salome_tmf.objectweb.org",
225:                        "SalomeFileWrapper"));
226:                oper.setReturnClass(SalomeFileWrapper.class);
227:                oper.setReturnQName(new javax.xml.namespace.QName("",
228:                        "getFileReturn"));
229:                oper.setStyle(org.apache.axis.constants.Style.RPC);
230:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
231:                _operations[8] = oper;
232:
233:                oper = new org.apache.axis.description.OperationDesc();
234:                oper.setName("updateDescription");
235:                param = new org.apache.axis.description.ParameterDesc(
236:                        new javax.xml.namespace.QName("", "in0"),
237:                        org.apache.axis.description.ParameterDesc.IN,
238:                        new javax.xml.namespace.QName(
239:                                "http://www.w3.org/2001/XMLSchema", "int"),
240:                        int.class, false, false);
241:                oper.addParameter(param);
242:                param = new org.apache.axis.description.ParameterDesc(
243:                        new javax.xml.namespace.QName("", "in1"),
244:                        org.apache.axis.description.ParameterDesc.IN,
245:                        new javax.xml.namespace.QName(
246:                                "http://www.w3.org/2001/XMLSchema", "string"),
247:                        java.lang.String.class, false, false);
248:                oper.addParameter(param);
249:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
250:                oper.setStyle(org.apache.axis.constants.Style.RPC);
251:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
252:                _operations[9] = oper;
253:
254:            }
255:
256:            private static void _initOperationDesc2() {
257:                org.apache.axis.description.OperationDesc oper;
258:                org.apache.axis.description.ParameterDesc param;
259:                oper = new org.apache.axis.description.OperationDesc();
260:                oper.setName("getLastIdAttach");
261:                oper.setReturnType(new javax.xml.namespace.QName(
262:                        "http://www.w3.org/2001/XMLSchema", "int"));
263:                oper.setReturnClass(int.class);
264:                oper.setReturnQName(new javax.xml.namespace.QName("",
265:                        "getLastIdAttachReturn"));
266:                oper.setStyle(org.apache.axis.constants.Style.RPC);
267:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
268:                _operations[10] = oper;
269:
270:                oper = new org.apache.axis.description.OperationDesc();
271:                oper.setName("delete");
272:                param = new org.apache.axis.description.ParameterDesc(
273:                        new javax.xml.namespace.QName("", "in0"),
274:                        org.apache.axis.description.ParameterDesc.IN,
275:                        new javax.xml.namespace.QName(
276:                                "http://www.w3.org/2001/XMLSchema", "int"),
277:                        int.class, false, false);
278:                oper.addParameter(param);
279:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
280:                oper.setStyle(org.apache.axis.constants.Style.RPC);
281:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
282:                _operations[11] = oper;
283:
284:            }
285:
286:            public SQLFileAttachmentSoapBindingStub()
287:                    throws org.apache.axis.AxisFault {
288:                this (null);
289:            }
290:
291:            public SQLFileAttachmentSoapBindingStub(java.net.URL endpointURL,
292:                    javax.xml.rpc.Service service)
293:                    throws org.apache.axis.AxisFault {
294:                this (service);
295:                super .cachedEndpoint = endpointURL;
296:            }
297:
298:            public SQLFileAttachmentSoapBindingStub(
299:                    javax.xml.rpc.Service service)
300:                    throws org.apache.axis.AxisFault {
301:                if (service == null) {
302:                    super .service = new org.apache.axis.client.Service();
303:                } else {
304:                    super .service = service;
305:                }
306:                ((org.apache.axis.client.Service) super .service)
307:                        .setTypeMappingVersion("1.2");
308:                java.lang.Class cls;
309:                javax.xml.namespace.QName qName;
310:                javax.xml.namespace.QName qName2;
311:                java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
312:                java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
313:                java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
314:                java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
315:                java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
316:                java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
317:                java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
318:                java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
319:                java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
320:                java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
321:                qName = new javax.xml.namespace.QName(
322:                        "http://data.api.salome_tmf.objectweb.org",
323:                        "SalomeFileWrapper");
324:                cachedSerQNames.add(qName);
325:                cls = SalomeFileWrapper.class;
326:                cachedSerClasses.add(cls);
327:                cachedSerFactories.add(beansf);
328:                cachedDeserFactories.add(beandf);
329:
330:            }
331:
332:            protected org.apache.axis.client.Call createCall()
333:                    throws java.rmi.RemoteException {
334:                try {
335:                    org.apache.axis.client.Call _call = super ._createCall();
336:                    if (super .maintainSessionSet) {
337:                        _call.setMaintainSession(super .maintainSession);
338:                    }
339:                    if (super .cachedUsername != null) {
340:                        _call.setUsername(super .cachedUsername);
341:                    }
342:                    if (super .cachedPassword != null) {
343:                        _call.setPassword(super .cachedPassword);
344:                    }
345:                    if (super .cachedEndpoint != null) {
346:                        _call.setTargetEndpointAddress(super .cachedEndpoint);
347:                    }
348:                    if (super .cachedTimeout != null) {
349:                        _call.setTimeout(super .cachedTimeout);
350:                    }
351:                    if (super .cachedPortName != null) {
352:                        _call.setPortName(super .cachedPortName);
353:                    }
354:                    java.util.Enumeration keys = super .cachedProperties.keys();
355:                    while (keys.hasMoreElements()) {
356:                        java.lang.String key = (java.lang.String) keys
357:                                .nextElement();
358:                        _call.setProperty(key, super .cachedProperties.get(key));
359:                    }
360:                    // All the type mapping information is registered
361:                    // when the first call is made.
362:                    // The type mapping information is actually registered in
363:                    // the TypeMappingRegistry of the service, which
364:                    // is the reason why registration is only needed for the first call.
365:                    synchronized (this ) {
366:                        if (firstCall()) {
367:                            // must set encoding style before registering serializers
368:                            _call.setEncodingStyle(null);
369:                            for (int i = 0; i < cachedSerFactories.size(); ++i) {
370:                                java.lang.Class cls = (java.lang.Class) cachedSerClasses
371:                                        .get(i);
372:                                javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames
373:                                        .get(i);
374:                                java.lang.Object x = cachedSerFactories.get(i);
375:                                if (x instanceof  Class) {
376:                                    java.lang.Class sf = (java.lang.Class) cachedSerFactories
377:                                            .get(i);
378:                                    java.lang.Class df = (java.lang.Class) cachedDeserFactories
379:                                            .get(i);
380:                                    _call.registerTypeMapping(cls, qName, sf,
381:                                            df, false);
382:                                } else if (x instanceof  javax.xml.rpc.encoding.SerializerFactory) {
383:                                    org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) cachedSerFactories
384:                                            .get(i);
385:                                    org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) cachedDeserFactories
386:                                            .get(i);
387:                                    _call.registerTypeMapping(cls, qName, sf,
388:                                            df, false);
389:                                }
390:                            }
391:                        }
392:                    }
393:                    return _call;
394:                } catch (java.lang.Exception _t) {
395:                    throw new org.apache.axis.AxisFault(
396:                            "Failure trying to get the Call object", _t);
397:                }
398:            }
399:
400:            public void updateFile(int in0, SalomeFileWrapper in1)
401:                    throws java.rmi.RemoteException {
402:                if (super .cachedEndpoint == null) {
403:                    throw new org.apache.axis.NoEndPointException();
404:                }
405:                org.apache.axis.client.Call _call = createCall();
406:                _call.setOperation(_operations[0]);
407:                _call.setUseSOAPAction(true);
408:                _call.setSOAPActionURI("");
409:                _call.setEncodingStyle(null);
410:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
411:                        Boolean.FALSE);
412:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
413:                        Boolean.FALSE);
414:                _call
415:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
416:                _call.setOperationName(new javax.xml.namespace.QName(
417:                        "http://soap.salome_tmf.objectweb.org", "updateFile"));
418:
419:                setRequestHeaders(_call);
420:                setAttachments(_call);
421:                try {
422:                    java.lang.Object _resp = _call
423:                            .invoke(new java.lang.Object[] {
424:                                    new java.lang.Integer(in0), in1 });
425:
426:                    if (_resp instanceof  java.rmi.RemoteException) {
427:                        throw (java.rmi.RemoteException) _resp;
428:                    }
429:                    extractAttachments(_call);
430:                } catch (org.apache.axis.AxisFault axisFaultException) {
431:                    throw axisFaultException;
432:                }
433:            }
434:
435:            public void updateFileName(int in0, java.lang.String in1)
436:                    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[1]);
442:                _call.setUseSOAPAction(true);
443:                _call.setSOAPActionURI("");
444:                _call.setEncodingStyle(null);
445:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
446:                        Boolean.FALSE);
447:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
448:                        Boolean.FALSE);
449:                _call
450:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
451:                _call.setOperationName(new javax.xml.namespace.QName(
452:                        "http://soap.salome_tmf.objectweb.org",
453:                        "updateFileName"));
454:
455:                setRequestHeaders(_call);
456:                setAttachments(_call);
457:                try {
458:                    java.lang.Object _resp = _call
459:                            .invoke(new java.lang.Object[] {
460:                                    new java.lang.Integer(in0), in1 });
461:
462:                    if (_resp instanceof  java.rmi.RemoteException) {
463:                        throw (java.rmi.RemoteException) _resp;
464:                    }
465:                    extractAttachments(_call);
466:                } catch (org.apache.axis.AxisFault axisFaultException) {
467:                    throw axisFaultException;
468:                }
469:            }
470:
471:            public void updateFileContent(int in0, byte[] in1)
472:                    throws java.rmi.RemoteException {
473:                if (super .cachedEndpoint == null) {
474:                    throw new org.apache.axis.NoEndPointException();
475:                }
476:                org.apache.axis.client.Call _call = createCall();
477:                _call.setOperation(_operations[2]);
478:                _call.setUseSOAPAction(true);
479:                _call.setSOAPActionURI("");
480:                _call.setEncodingStyle(null);
481:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
482:                        Boolean.FALSE);
483:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
484:                        Boolean.FALSE);
485:                _call
486:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
487:                _call.setOperationName(new javax.xml.namespace.QName(
488:                        "http://soap.salome_tmf.objectweb.org",
489:                        "updateFileContent"));
490:
491:                setRequestHeaders(_call);
492:                setAttachments(_call);
493:                try {
494:                    java.lang.Object _resp = _call
495:                            .invoke(new java.lang.Object[] {
496:                                    new java.lang.Integer(in0), in1 });
497:
498:                    if (_resp instanceof  java.rmi.RemoteException) {
499:                        throw (java.rmi.RemoteException) _resp;
500:                    }
501:                    extractAttachments(_call);
502:                } catch (org.apache.axis.AxisFault axisFaultException) {
503:                    throw axisFaultException;
504:                }
505:            }
506:
507:            public void updateFileDate(int in0, java.sql.Date in1)
508:                    throws java.rmi.RemoteException {
509:                if (super .cachedEndpoint == null) {
510:                    throw new org.apache.axis.NoEndPointException();
511:                }
512:                org.apache.axis.client.Call _call = createCall();
513:                _call.setOperation(_operations[3]);
514:                _call.setUseSOAPAction(true);
515:                _call.setSOAPActionURI("");
516:                _call.setEncodingStyle(null);
517:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
518:                        Boolean.FALSE);
519:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
520:                        Boolean.FALSE);
521:                _call
522:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
523:                _call.setOperationName(new javax.xml.namespace.QName(
524:                        "http://soap.salome_tmf.objectweb.org",
525:                        "updateFileDate"));
526:
527:                setRequestHeaders(_call);
528:                setAttachments(_call);
529:                try {
530:                    java.lang.Object _resp = _call
531:                            .invoke(new java.lang.Object[] {
532:                                    new java.lang.Integer(in0), in1 });
533:
534:                    if (_resp instanceof  java.rmi.RemoteException) {
535:                        throw (java.rmi.RemoteException) _resp;
536:                    }
537:                    extractAttachments(_call);
538:                } catch (org.apache.axis.AxisFault axisFaultException) {
539:                    throw axisFaultException;
540:                }
541:            }
542:
543:            public void updateFileLength(int in0, long in1)
544:                    throws java.rmi.RemoteException {
545:                if (super .cachedEndpoint == null) {
546:                    throw new org.apache.axis.NoEndPointException();
547:                }
548:                org.apache.axis.client.Call _call = createCall();
549:                _call.setOperation(_operations[4]);
550:                _call.setUseSOAPAction(true);
551:                _call.setSOAPActionURI("");
552:                _call.setEncodingStyle(null);
553:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
554:                        Boolean.FALSE);
555:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
556:                        Boolean.FALSE);
557:                _call
558:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
559:                _call.setOperationName(new javax.xml.namespace.QName(
560:                        "http://soap.salome_tmf.objectweb.org",
561:                        "updateFileLength"));
562:
563:                setRequestHeaders(_call);
564:                setAttachments(_call);
565:                try {
566:                    java.lang.Object _resp = _call
567:                            .invoke(new java.lang.Object[] {
568:                                    new java.lang.Integer(in0),
569:                                    new java.lang.Long(in1) });
570:
571:                    if (_resp instanceof  java.rmi.RemoteException) {
572:                        throw (java.rmi.RemoteException) _resp;
573:                    }
574:                    extractAttachments(_call);
575:                } catch (org.apache.axis.AxisFault axisFaultException) {
576:                    throw axisFaultException;
577:                }
578:            }
579:
580:            public SalomeFileWrapper getFileIn(int in0, SalomeFileWrapper in1)
581:                    throws java.rmi.RemoteException {
582:                if (super .cachedEndpoint == null) {
583:                    throw new org.apache.axis.NoEndPointException();
584:                }
585:                org.apache.axis.client.Call _call = createCall();
586:                _call.setOperation(_operations[5]);
587:                _call.setUseSOAPAction(true);
588:                _call.setSOAPActionURI("");
589:                _call.setEncodingStyle(null);
590:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
591:                        Boolean.FALSE);
592:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
593:                        Boolean.FALSE);
594:                _call
595:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
596:                _call.setOperationName(new javax.xml.namespace.QName(
597:                        "http://soap.salome_tmf.objectweb.org", "getFileIn"));
598:
599:                setRequestHeaders(_call);
600:                setAttachments(_call);
601:                try {
602:                    java.lang.Object _resp = _call
603:                            .invoke(new java.lang.Object[] {
604:                                    new java.lang.Integer(in0), in1 });
605:
606:                    if (_resp instanceof  java.rmi.RemoteException) {
607:                        throw (java.rmi.RemoteException) _resp;
608:                    } else {
609:                        extractAttachments(_call);
610:                        try {
611:                            return (SalomeFileWrapper) _resp;
612:                        } catch (java.lang.Exception _exception) {
613:                            return (SalomeFileWrapper) org.apache.axis.utils.JavaUtils
614:                                    .convert(_resp, SalomeFileWrapper.class);
615:                        }
616:                    }
617:                } catch (org.apache.axis.AxisFault axisFaultException) {
618:                    throw axisFaultException;
619:                }
620:            }
621:
622:            public int insert(SalomeFileWrapper in0, java.lang.String in1)
623:                    throws java.rmi.RemoteException {
624:                if (super .cachedEndpoint == null) {
625:                    throw new org.apache.axis.NoEndPointException();
626:                }
627:                org.apache.axis.client.Call _call = createCall();
628:                _call.setOperation(_operations[6]);
629:                _call.setUseSOAPAction(true);
630:                _call.setSOAPActionURI("");
631:                _call.setEncodingStyle(null);
632:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
633:                        Boolean.FALSE);
634:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
635:                        Boolean.FALSE);
636:                _call
637:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
638:                _call.setOperationName(new javax.xml.namespace.QName(
639:                        "http://soap.salome_tmf.objectweb.org", "insert"));
640:
641:                setRequestHeaders(_call);
642:                setAttachments(_call);
643:                try {
644:                    java.lang.Object _resp = _call
645:                            .invoke(new java.lang.Object[] { in0, in1 });
646:
647:                    if (_resp instanceof  java.rmi.RemoteException) {
648:                        throw (java.rmi.RemoteException) _resp;
649:                    } else {
650:                        extractAttachments(_call);
651:                        try {
652:                            return ((java.lang.Integer) _resp).intValue();
653:                        } catch (java.lang.Exception _exception) {
654:                            return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
655:                                    .convert(_resp, int.class)).intValue();
656:                        }
657:                    }
658:                } catch (org.apache.axis.AxisFault axisFaultException) {
659:                    throw axisFaultException;
660:                }
661:            }
662:
663:            public SalomeFileWrapper getFile(int in0)
664:                    throws java.rmi.RemoteException {
665:                if (super .cachedEndpoint == null) {
666:                    throw new org.apache.axis.NoEndPointException();
667:                }
668:                org.apache.axis.client.Call _call = createCall();
669:                _call.setOperation(_operations[7]);
670:                _call.setUseSOAPAction(true);
671:                _call.setSOAPActionURI("");
672:                _call.setEncodingStyle(null);
673:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
674:                        Boolean.FALSE);
675:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
676:                        Boolean.FALSE);
677:                _call
678:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
679:                _call.setOperationName(new javax.xml.namespace.QName(
680:                        "http://soap.salome_tmf.objectweb.org", "getFile"));
681:
682:                setRequestHeaders(_call);
683:                setAttachments(_call);
684:                try {
685:                    java.lang.Object _resp = _call
686:                            .invoke(new java.lang.Object[] { new java.lang.Integer(
687:                                    in0) });
688:
689:                    if (_resp instanceof  java.rmi.RemoteException) {
690:                        throw (java.rmi.RemoteException) _resp;
691:                    } else {
692:                        extractAttachments(_call);
693:                        try {
694:                            return (SalomeFileWrapper) _resp;
695:                        } catch (java.lang.Exception _exception) {
696:                            return (SalomeFileWrapper) org.apache.axis.utils.JavaUtils
697:                                    .convert(_resp, SalomeFileWrapper.class);
698:                        }
699:                    }
700:                } catch (org.apache.axis.AxisFault axisFaultException) {
701:                    throw axisFaultException;
702:                }
703:            }
704:
705:            public SalomeFileWrapper getFile(int in0, java.lang.String in1)
706:                    throws java.rmi.RemoteException {
707:                if (super .cachedEndpoint == null) {
708:                    throw new org.apache.axis.NoEndPointException();
709:                }
710:                org.apache.axis.client.Call _call = createCall();
711:                _call.setOperation(_operations[8]);
712:                _call.setUseSOAPAction(true);
713:                _call.setSOAPActionURI("");
714:                _call.setEncodingStyle(null);
715:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
716:                        Boolean.FALSE);
717:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
718:                        Boolean.FALSE);
719:                _call
720:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
721:                _call.setOperationName(new javax.xml.namespace.QName(
722:                        "http://soap.salome_tmf.objectweb.org", "getFile"));
723:
724:                setRequestHeaders(_call);
725:                setAttachments(_call);
726:                try {
727:                    java.lang.Object _resp = _call
728:                            .invoke(new java.lang.Object[] {
729:                                    new java.lang.Integer(in0), in1 });
730:
731:                    if (_resp instanceof  java.rmi.RemoteException) {
732:                        throw (java.rmi.RemoteException) _resp;
733:                    } else {
734:                        extractAttachments(_call);
735:                        try {
736:                            return (SalomeFileWrapper) _resp;
737:                        } catch (java.lang.Exception _exception) {
738:                            return (SalomeFileWrapper) org.apache.axis.utils.JavaUtils
739:                                    .convert(_resp, SalomeFileWrapper.class);
740:                        }
741:                    }
742:                } catch (org.apache.axis.AxisFault axisFaultException) {
743:                    throw axisFaultException;
744:                }
745:            }
746:
747:            public void updateDescription(int in0, java.lang.String in1)
748:                    throws java.rmi.RemoteException {
749:                if (super .cachedEndpoint == null) {
750:                    throw new org.apache.axis.NoEndPointException();
751:                }
752:                org.apache.axis.client.Call _call = createCall();
753:                _call.setOperation(_operations[9]);
754:                _call.setUseSOAPAction(true);
755:                _call.setSOAPActionURI("");
756:                _call.setEncodingStyle(null);
757:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
758:                        Boolean.FALSE);
759:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
760:                        Boolean.FALSE);
761:                _call
762:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
763:                _call.setOperationName(new javax.xml.namespace.QName(
764:                        "http://soap.salome_tmf.objectweb.org",
765:                        "updateDescription"));
766:
767:                setRequestHeaders(_call);
768:                setAttachments(_call);
769:                try {
770:                    java.lang.Object _resp = _call
771:                            .invoke(new java.lang.Object[] {
772:                                    new java.lang.Integer(in0), in1 });
773:
774:                    if (_resp instanceof  java.rmi.RemoteException) {
775:                        throw (java.rmi.RemoteException) _resp;
776:                    }
777:                    extractAttachments(_call);
778:                } catch (org.apache.axis.AxisFault axisFaultException) {
779:                    throw axisFaultException;
780:                }
781:            }
782:
783:            public int getLastIdAttach() throws java.rmi.RemoteException {
784:                if (super .cachedEndpoint == null) {
785:                    throw new org.apache.axis.NoEndPointException();
786:                }
787:                org.apache.axis.client.Call _call = createCall();
788:                _call.setOperation(_operations[10]);
789:                _call.setUseSOAPAction(true);
790:                _call.setSOAPActionURI("");
791:                _call.setEncodingStyle(null);
792:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
793:                        Boolean.FALSE);
794:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
795:                        Boolean.FALSE);
796:                _call
797:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
798:                _call.setOperationName(new javax.xml.namespace.QName(
799:                        "http://soap.salome_tmf.objectweb.org",
800:                        "getLastIdAttach"));
801:
802:                setRequestHeaders(_call);
803:                setAttachments(_call);
804:                try {
805:                    java.lang.Object _resp = _call
806:                            .invoke(new java.lang.Object[] {});
807:
808:                    if (_resp instanceof  java.rmi.RemoteException) {
809:                        throw (java.rmi.RemoteException) _resp;
810:                    } else {
811:                        extractAttachments(_call);
812:                        try {
813:                            return ((java.lang.Integer) _resp).intValue();
814:                        } catch (java.lang.Exception _exception) {
815:                            return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
816:                                    .convert(_resp, int.class)).intValue();
817:                        }
818:                    }
819:                } catch (org.apache.axis.AxisFault axisFaultException) {
820:                    throw axisFaultException;
821:                }
822:            }
823:
824:            public void delete(int in0) throws java.rmi.RemoteException {
825:                if (super .cachedEndpoint == null) {
826:                    throw new org.apache.axis.NoEndPointException();
827:                }
828:                org.apache.axis.client.Call _call = createCall();
829:                _call.setOperation(_operations[11]);
830:                _call.setUseSOAPAction(true);
831:                _call.setSOAPActionURI("");
832:                _call.setEncodingStyle(null);
833:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
834:                        Boolean.FALSE);
835:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
836:                        Boolean.FALSE);
837:                _call
838:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
839:                _call.setOperationName(new javax.xml.namespace.QName(
840:                        "http://soap.salome_tmf.objectweb.org", "delete"));
841:
842:                setRequestHeaders(_call);
843:                setAttachments(_call);
844:                try {
845:                    java.lang.Object _resp = _call
846:                            .invoke(new java.lang.Object[] { new java.lang.Integer(
847:                                    in0) });
848:
849:                    if (_resp instanceof  java.rmi.RemoteException) {
850:                        throw (java.rmi.RemoteException) _resp;
851:                    }
852:                    extractAttachments(_call);
853:                } catch (org.apache.axis.AxisFault axisFaultException) {
854:                    throw axisFaultException;
855:                }
856:            }
857:
858:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.