1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 package com.tvnavig.server.user;
42
43 public class UserServiceServiceLocator extends org.apache.axis.client.Service implements com.tvnavig.server.user.UserServiceService {
44
45 public UserServiceServiceLocator() {
46 }
47
48
49 public UserServiceServiceLocator(org.apache.axis.EngineConfiguration config) {
50 super(config);
51 }
52
53 public UserServiceServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
54 super(wsdlLoc, sName);
55 }
56
57
58 private java.lang.String UserService_address = "http://v01-adminvnavig-rec7.apps.paris.mdp/tvnavig/default/services/OGCUserService";
59
60 public java.lang.String getUserServiceAddress() {
61 return UserService_address;
62 }
63
64
65 private java.lang.String UserServiceWSDDServiceName = "UserService";
66
67 public java.lang.String getUserServiceWSDDServiceName() {
68 return UserServiceWSDDServiceName;
69 }
70
71 public void setUserServiceWSDDServiceName(java.lang.String name) {
72 UserServiceWSDDServiceName = name;
73 }
74
75 public com.tvnavig.server.user.UserService getUserService() throws javax.xml.rpc.ServiceException {
76 java.net.URL endpoint;
77 try {
78 endpoint = new java.net.URL(UserService_address);
79 }
80 catch (java.net.MalformedURLException e) {
81 throw new javax.xml.rpc.ServiceException(e);
82 }
83 return getUserService(endpoint);
84 }
85
86 public com.tvnavig.server.user.UserService getUserService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
87 try {
88 com.tvnavig.server.user.UserServiceSoapBindingStub _stub = new com.tvnavig.server.user.UserServiceSoapBindingStub(portAddress, this);
89 _stub.setPortName(getUserServiceWSDDServiceName());
90 return _stub;
91 }
92 catch (org.apache.axis.AxisFault e) {
93 return null;
94 }
95 }
96
97 public void setUserServiceEndpointAddress(java.lang.String address) {
98 UserService_address = address;
99 }
100
101
102
103
104
105
106 public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
107 try {
108 if (com.tvnavig.server.user.UserService.class.isAssignableFrom(serviceEndpointInterface)) {
109 com.tvnavig.server.user.UserServiceSoapBindingStub _stub = new com.tvnavig.server.user.UserServiceSoapBindingStub(new java.net.URL(UserService_address), this);
110 _stub.setPortName(getUserServiceWSDDServiceName());
111 return _stub;
112 }
113 }
114 catch (java.lang.Throwable t) {
115 throw new javax.xml.rpc.ServiceException(t);
116 }
117 throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
118 }
119
120
121
122
123
124
125 public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
126 if (portName == null) {
127 return getPort(serviceEndpointInterface);
128 }
129 java.lang.String inputPortName = portName.getLocalPart();
130 if ("UserService".equals(inputPortName)) {
131 return getUserService();
132 }
133 else {
134 java.rmi.Remote _stub = getPort(serviceEndpointInterface);
135 ((org.apache.axis.client.Stub) _stub).setPortName(portName);
136 return _stub;
137 }
138 }
139
140 public javax.xml.namespace.QName getServiceName() {
141 return new javax.xml.namespace.QName("http://user.server.tvnavig.com", "UserServiceService");
142 }
143
144 private java.util.HashSet ports = null;
145
146 public java.util.Iterator getPorts() {
147 if (ports == null) {
148 ports = new java.util.HashSet();
149 ports.add(new javax.xml.namespace.QName("http://user.server.tvnavig.com", "UserService"));
150 }
151 return ports.iterator();
152 }
153
154
155
156
157 public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
158
159 if ("UserService".equals(portName)) {
160 setUserServiceEndpointAddress(address);
161 }
162 else
163 {
164 throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
165 }
166 }
167
168
169
170
171 public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
172 setEndpointAddress(portName.getLocalPart(), address);
173 }
174
175 }