Source Code Cross Referenced for ISQLDatasetServiceLocator.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:         * ISQLDatasetServiceLocator.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.ISQLDataset;
009:
010:        public class ISQLDatasetServiceLocator extends
011:                org.apache.axis.client.Service implements  ISQLDatasetService {
012:
013:            public ISQLDatasetServiceLocator() {
014:            }
015:
016:            public ISQLDatasetServiceLocator(
017:                    org.apache.axis.EngineConfiguration config) {
018:                super (config);
019:            }
020:
021:            public ISQLDatasetServiceLocator(java.lang.String wsdlLoc,
022:                    javax.xml.namespace.QName sName)
023:                    throws javax.xml.rpc.ServiceException {
024:                super (wsdlLoc, sName);
025:            }
026:
027:            // Use to get a proxy class for SQLDataset
028:            private java.lang.String SQLDataset_address = SOAPConstants
029:                    .getUrlWebService()
030:                    + "SQLDataset";
031:
032:            public java.lang.String getSQLDatasetAddress() {
033:                return SQLDataset_address;
034:            }
035:
036:            // The WSDD service name defaults to the port name.
037:            private java.lang.String SQLDatasetWSDDServiceName = "SQLDataset";
038:
039:            public java.lang.String getSQLDatasetWSDDServiceName() {
040:                return SQLDatasetWSDDServiceName;
041:            }
042:
043:            public void setSQLDatasetWSDDServiceName(java.lang.String name) {
044:                SQLDatasetWSDDServiceName = name;
045:            }
046:
047:            public ISQLDataset getSQLDataset()
048:                    throws javax.xml.rpc.ServiceException {
049:                java.net.URL endpoint;
050:                try {
051:                    endpoint = new java.net.URL(SQLDataset_address);
052:                } catch (java.net.MalformedURLException e) {
053:                    throw new javax.xml.rpc.ServiceException(e);
054:                }
055:                return getSQLDataset(endpoint);
056:            }
057:
058:            public ISQLDataset getSQLDataset(java.net.URL portAddress)
059:                    throws javax.xml.rpc.ServiceException {
060:                try {
061:                    SQLDatasetSoapBindingStub _stub = new SQLDatasetSoapBindingStub(
062:                            portAddress, this );
063:                    _stub.setPortName(getSQLDatasetWSDDServiceName());
064:                    return _stub;
065:                } catch (org.apache.axis.AxisFault e) {
066:                    return null;
067:                }
068:            }
069:
070:            public void setSQLDatasetEndpointAddress(java.lang.String address) {
071:                SQLDataset_address = address;
072:            }
073:
074:            /**
075:             * For the given interface, get the stub implementation.
076:             * If this service has no port for the given interface,
077:             * then ServiceException is thrown.
078:             */
079:            public java.rmi.Remote getPort(Class serviceEndpointInterface)
080:                    throws javax.xml.rpc.ServiceException {
081:                try {
082:                    if (ISQLDataset.class
083:                            .isAssignableFrom(serviceEndpointInterface)) {
084:                        SQLDatasetSoapBindingStub _stub = new SQLDatasetSoapBindingStub(
085:                                new java.net.URL(SQLDataset_address), this );
086:                        _stub.setPortName(getSQLDatasetWSDDServiceName());
087:                        return _stub;
088:                    }
089:                } catch (java.lang.Throwable t) {
090:                    throw new javax.xml.rpc.ServiceException(t);
091:                }
092:                throw new javax.xml.rpc.ServiceException(
093:                        "There is no stub implementation for the interface:  "
094:                                + (serviceEndpointInterface == null ? "null"
095:                                        : serviceEndpointInterface.getName()));
096:            }
097:
098:            /**
099:             * For the given interface, get the stub implementation.
100:             * If this service has no port for the given interface,
101:             * then ServiceException is thrown.
102:             */
103:            public java.rmi.Remote getPort(javax.xml.namespace.QName portName,
104:                    Class serviceEndpointInterface)
105:                    throws javax.xml.rpc.ServiceException {
106:                if (portName == null) {
107:                    return getPort(serviceEndpointInterface);
108:                }
109:                java.lang.String inputPortName = portName.getLocalPart();
110:                if ("SQLDataset".equals(inputPortName)) {
111:                    return getSQLDataset();
112:                } else {
113:                    java.rmi.Remote _stub = getPort(serviceEndpointInterface);
114:                    ((org.apache.axis.client.Stub) _stub).setPortName(portName);
115:                    return _stub;
116:                }
117:            }
118:
119:            public javax.xml.namespace.QName getServiceName() {
120:                return new javax.xml.namespace.QName(
121:                        "http://soap.salome_tmf.objectweb.org",
122:                        "ISQLDatasetService");
123:            }
124:
125:            private java.util.HashSet ports = null;
126:
127:            public java.util.Iterator getPorts() {
128:                if (ports == null) {
129:                    ports = new java.util.HashSet();
130:                    ports.add(new javax.xml.namespace.QName(
131:                            "http://soap.salome_tmf.objectweb.org",
132:                            "SQLDataset"));
133:                }
134:                return ports.iterator();
135:            }
136:
137:            /**
138:             * Set the endpoint address for the specified port name.
139:             */
140:            public void setEndpointAddress(java.lang.String portName,
141:                    java.lang.String address)
142:                    throws javax.xml.rpc.ServiceException {
143:
144:                if ("SQLDataset".equals(portName)) {
145:                    setSQLDatasetEndpointAddress(address);
146:                } else { // Unknown Port Name
147:                    throw new javax.xml.rpc.ServiceException(
148:                            " Cannot set Endpoint Address for Unknown Port"
149:                                    + portName);
150:                }
151:            }
152:
153:            /**
154:             * Set the endpoint address for the specified port name.
155:             */
156:            public void setEndpointAddress(javax.xml.namespace.QName portName,
157:                    java.lang.String address)
158:                    throws javax.xml.rpc.ServiceException {
159:                setEndpointAddress(portName.getLocalPart(), address);
160:            }
161:
162:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.