Source Code Cross Referenced for SQLAttachmentSoapBindingStub.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:         * SQLAttachmentSoapBindingStub.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.sql.ISQLAttachment;
009:
010:        public class SQLAttachmentSoapBindingStub extends StubClient implements 
011:                ISQLAttachment {
012:            private java.util.Vector cachedSerClasses = new java.util.Vector();
013:            private java.util.Vector cachedSerQNames = new java.util.Vector();
014:            private java.util.Vector cachedSerFactories = new java.util.Vector();
015:            private java.util.Vector cachedDeserFactories = new java.util.Vector();
016:
017:            static org.apache.axis.description.OperationDesc[] _operations;
018:
019:            static {
020:                _operations = new org.apache.axis.description.OperationDesc[3];
021:                _initOperationDesc1();
022:            }
023:
024:            private static void _initOperationDesc1() {
025:                org.apache.axis.description.OperationDesc oper;
026:                org.apache.axis.description.ParameterDesc param;
027:                oper = new org.apache.axis.description.OperationDesc();
028:                oper.setName("updateDescription");
029:                param = new org.apache.axis.description.ParameterDesc(
030:                        new javax.xml.namespace.QName("", "in0"),
031:                        org.apache.axis.description.ParameterDesc.IN,
032:                        new javax.xml.namespace.QName(
033:                                "http://www.w3.org/2001/XMLSchema", "int"),
034:                        int.class, false, false);
035:                oper.addParameter(param);
036:                param = new org.apache.axis.description.ParameterDesc(
037:                        new javax.xml.namespace.QName("", "in1"),
038:                        org.apache.axis.description.ParameterDesc.IN,
039:                        new javax.xml.namespace.QName(
040:                                "http://www.w3.org/2001/XMLSchema", "string"),
041:                        java.lang.String.class, false, false);
042:                oper.addParameter(param);
043:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
044:                oper.setStyle(org.apache.axis.constants.Style.RPC);
045:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
046:                _operations[0] = oper;
047:
048:                oper = new org.apache.axis.description.OperationDesc();
049:                oper.setName("getLastIdAttach");
050:                oper.setReturnType(new javax.xml.namespace.QName(
051:                        "http://www.w3.org/2001/XMLSchema", "int"));
052:                oper.setReturnClass(int.class);
053:                oper.setReturnQName(new javax.xml.namespace.QName("",
054:                        "getLastIdAttachReturn"));
055:                oper.setStyle(org.apache.axis.constants.Style.RPC);
056:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
057:                _operations[1] = oper;
058:
059:                oper = new org.apache.axis.description.OperationDesc();
060:                oper.setName("delete");
061:                param = new org.apache.axis.description.ParameterDesc(
062:                        new javax.xml.namespace.QName("", "in0"),
063:                        org.apache.axis.description.ParameterDesc.IN,
064:                        new javax.xml.namespace.QName(
065:                                "http://www.w3.org/2001/XMLSchema", "int"),
066:                        int.class, false, false);
067:                oper.addParameter(param);
068:                oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
069:                oper.setStyle(org.apache.axis.constants.Style.RPC);
070:                oper.setUse(org.apache.axis.constants.Use.LITERAL);
071:                _operations[2] = oper;
072:
073:            }
074:
075:            public SQLAttachmentSoapBindingStub()
076:                    throws org.apache.axis.AxisFault {
077:                this (null);
078:            }
079:
080:            public SQLAttachmentSoapBindingStub(java.net.URL endpointURL,
081:                    javax.xml.rpc.Service service)
082:                    throws org.apache.axis.AxisFault {
083:                this (service);
084:                super .cachedEndpoint = endpointURL;
085:            }
086:
087:            public SQLAttachmentSoapBindingStub(javax.xml.rpc.Service service)
088:                    throws org.apache.axis.AxisFault {
089:                if (service == null) {
090:                    super .service = new org.apache.axis.client.Service();
091:                } else {
092:                    super .service = service;
093:                }
094:                ((org.apache.axis.client.Service) super .service)
095:                        .setTypeMappingVersion("1.2");
096:            }
097:
098:            protected org.apache.axis.client.Call createCall()
099:                    throws java.rmi.RemoteException {
100:                try {
101:                    org.apache.axis.client.Call _call = super ._createCall();
102:                    if (super .maintainSessionSet) {
103:                        _call.setMaintainSession(super .maintainSession);
104:                    }
105:                    if (super .cachedUsername != null) {
106:                        _call.setUsername(super .cachedUsername);
107:                    }
108:                    if (super .cachedPassword != null) {
109:                        _call.setPassword(super .cachedPassword);
110:                    }
111:                    if (super .cachedEndpoint != null) {
112:                        _call.setTargetEndpointAddress(super .cachedEndpoint);
113:                    }
114:                    if (super .cachedTimeout != null) {
115:                        _call.setTimeout(super .cachedTimeout);
116:                    }
117:                    if (super .cachedPortName != null) {
118:                        _call.setPortName(super .cachedPortName);
119:                    }
120:                    java.util.Enumeration keys = super .cachedProperties.keys();
121:                    while (keys.hasMoreElements()) {
122:                        java.lang.String key = (java.lang.String) keys
123:                                .nextElement();
124:                        _call.setProperty(key, super .cachedProperties.get(key));
125:                    }
126:                    return _call;
127:                } catch (java.lang.Exception _t) {
128:                    throw new org.apache.axis.AxisFault(
129:                            "Failure trying to get the Call object", _t);
130:                }
131:            }
132:
133:            public void updateDescription(int in0, java.lang.String in1)
134:                    throws java.rmi.RemoteException {
135:                if (super .cachedEndpoint == null) {
136:                    throw new org.apache.axis.NoEndPointException();
137:                }
138:                org.apache.axis.client.Call _call = createCall();
139:                _call.setOperation(_operations[0]);
140:                _call.setUseSOAPAction(true);
141:                _call.setSOAPActionURI("");
142:                _call.setEncodingStyle(null);
143:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
144:                        Boolean.FALSE);
145:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
146:                        Boolean.FALSE);
147:                _call
148:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
149:                _call.setOperationName(new javax.xml.namespace.QName(
150:                        "http://soap.salome_tmf.objectweb.org",
151:                        "updateDescription"));
152:
153:                setRequestHeaders(_call);
154:                setAttachments(_call);
155:                try {
156:                    java.lang.Object _resp = _call
157:                            .invoke(new java.lang.Object[] {
158:                                    new java.lang.Integer(in0), in1 });
159:
160:                    if (_resp instanceof  java.rmi.RemoteException) {
161:                        throw (java.rmi.RemoteException) _resp;
162:                    }
163:                    extractAttachments(_call);
164:                } catch (org.apache.axis.AxisFault axisFaultException) {
165:                    throw axisFaultException;
166:                }
167:            }
168:
169:            public int getLastIdAttach() throws java.rmi.RemoteException {
170:                if (super .cachedEndpoint == null) {
171:                    throw new org.apache.axis.NoEndPointException();
172:                }
173:                org.apache.axis.client.Call _call = createCall();
174:                _call.setOperation(_operations[1]);
175:                _call.setUseSOAPAction(true);
176:                _call.setSOAPActionURI("");
177:                _call.setEncodingStyle(null);
178:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
179:                        Boolean.FALSE);
180:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
181:                        Boolean.FALSE);
182:                _call
183:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
184:                _call.setOperationName(new javax.xml.namespace.QName(
185:                        "http://soap.salome_tmf.objectweb.org",
186:                        "getLastIdAttach"));
187:
188:                setRequestHeaders(_call);
189:                setAttachments(_call);
190:                try {
191:                    java.lang.Object _resp = _call
192:                            .invoke(new java.lang.Object[] {});
193:
194:                    if (_resp instanceof  java.rmi.RemoteException) {
195:                        throw (java.rmi.RemoteException) _resp;
196:                    } else {
197:                        extractAttachments(_call);
198:                        try {
199:                            return ((java.lang.Integer) _resp).intValue();
200:                        } catch (java.lang.Exception _exception) {
201:                            return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
202:                                    .convert(_resp, int.class)).intValue();
203:                        }
204:                    }
205:                } catch (org.apache.axis.AxisFault axisFaultException) {
206:                    throw axisFaultException;
207:                }
208:            }
209:
210:            public void delete(int in0) throws java.rmi.RemoteException {
211:                if (super .cachedEndpoint == null) {
212:                    throw new org.apache.axis.NoEndPointException();
213:                }
214:                org.apache.axis.client.Call _call = createCall();
215:                _call.setOperation(_operations[2]);
216:                _call.setUseSOAPAction(true);
217:                _call.setSOAPActionURI("");
218:                _call.setEncodingStyle(null);
219:                _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
220:                        Boolean.FALSE);
221:                _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
222:                        Boolean.FALSE);
223:                _call
224:                        .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
225:                _call.setOperationName(new javax.xml.namespace.QName(
226:                        "http://soap.salome_tmf.objectweb.org", "delete"));
227:
228:                setRequestHeaders(_call);
229:                setAttachments(_call);
230:                try {
231:                    java.lang.Object _resp = _call
232:                            .invoke(new java.lang.Object[] { new java.lang.Integer(
233:                                    in0) });
234:
235:                    if (_resp instanceof  java.rmi.RemoteException) {
236:                        throw (java.rmi.RemoteException) _resp;
237:                    }
238:                    extractAttachments(_call);
239:                } catch (org.apache.axis.AxisFault axisFaultException) {
240:                    throw axisFaultException;
241:                }
242:            }
243:
244:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.