View Javadoc
1   /*
2    * Copyright 2001-2008 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  
18  
19  package org.apache.juddi.v3.client;
20  
21  import java.net.URL;
22  import javax.xml.namespace.QName;
23  import javax.xml.ws.Service;
24  import javax.xml.ws.WebEndpoint;
25  import javax.xml.ws.WebServiceClient;
26  import javax.xml.ws.WebServiceFeature;
27  
28  import org.uddi.v3_service.UDDICustodyTransferPortType;
29  import org.uddi.v3_service.UDDIInquiryPortType;
30  import org.uddi.v3_service.UDDIPublicationPortType;
31  import org.uddi.v3_service.UDDIReplicationPortType;
32  import org.uddi.v3_service.UDDISecurityPortType;
33  import org.uddi.v3_service.UDDISubscriptionListenerPortType;
34  import org.uddi.v3_service.UDDISubscriptionPortType;
35  import org.uddi.v3_service.UDDIValueSetCachingPortType;
36  import org.uddi.v3_service.UDDIValueSetValidationPortType;
37  
38  
39  /**
40   * The UDDIService is defined by the UDDI v3 specification as the Service from which
41   * all UDDI Ports can be obtained. All known ports: UDDICustodyPort, UDDIInquiryPort
42   * UDDIReplicationPort, UDDISecurityPort, UDDISubscriptionPort, UDDIValueSetCachingPort 
43   * and the UDDIValueSetValidationPort.
44   * 
45   * This class was generated by the JAX-WS RI.
46   * JAX-WS RI 2.1.5-b03-
47   * Generated source version: 2.1
48   * 
49   */
50  @WebServiceClient(name = "UDDI_Service", targetNamespace = "urn:uddi-org:v3_service", wsdlLocation = "classpath:/uddi_v3_service.wsdl")
51  public class UDDIService
52      extends Service
53  {
54  
55      private final static URL UDDISERVICE_WSDL_LOCATION;
56     
57      static {
58          URL url = ClassUtil.getResource("uddi_v3_service.wsdl",UDDIService.class);
59          UDDISERVICE_WSDL_LOCATION = url;
60      }
61  
62      public UDDIService(URL wsdlLocation, QName serviceName) {
63          super(wsdlLocation, serviceName);
64      }
65      
66      public UDDIService(URL wsdlLocation) {
67      	super(wsdlLocation, new QName("urn:uddi-org:v3_service", "UDDI_Service"));
68      }
69  
70      public UDDIService() {
71          super(UDDISERVICE_WSDL_LOCATION, new QName("urn:uddi-org:v3_service", "UDDI_Service"));
72      }
73  
74      /**
75       * 
76       * @return
77       *     returns UDDIInquiryPortType
78       */
79      @WebEndpoint(name = "UDDI_Inquiry_Port")
80      public UDDIInquiryPortType getUDDIInquiryPort() {
81          return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Inquiry_Port"), UDDIInquiryPortType.class);
82      }
83  
84      /**
85       * 
86       * @param features
87       *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
88       * @return
89       *     returns UDDIInquiryPortType
90       */
91      @WebEndpoint(name = "UDDI_Inquiry_Port")
92      public UDDIInquiryPortType getUDDIInquiryPort(WebServiceFeature... features) {
93          return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Inquiry_Port"), UDDIInquiryPortType.class, features);
94      }
95  
96      /**
97       * 
98       * @return
99       *     returns UDDIPublicationPortType
100      */
101     @WebEndpoint(name = "UDDI_Publication_Port")
102     public UDDIPublicationPortType getUDDIPublicationPort() {
103         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Publication_Port"), UDDIPublicationPortType.class);
104     }
105 
106     /**
107      * 
108      * @param features
109      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
110      * @return
111      *     returns UDDIPublicationPortType
112      */
113     @WebEndpoint(name = "UDDI_Publication_Port")
114     public UDDIPublicationPortType getUDDIPublicationPort(WebServiceFeature... features) {
115         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Publication_Port"), UDDIPublicationPortType.class, features);
116     }
117 
118     /**
119      * 
120      * @return
121      *     returns UDDISecurityPortType
122      */
123     @WebEndpoint(name = "UDDI_Security_Port")
124     public UDDISecurityPortType getUDDISecurityPort() {
125         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Security_Port"), UDDISecurityPortType.class);
126     }
127 
128     /**
129      * 
130      * @param features
131      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
132      * @return
133      *     returns UDDISecurityPortType
134      */
135     @WebEndpoint(name = "UDDI_Security_Port")
136     public UDDISecurityPortType getUDDISecurityPort(WebServiceFeature... features) {
137         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Security_Port"), UDDISecurityPortType.class, features);
138     }
139 
140     /**
141      * 
142      * @return
143      *     returns UDDICustodyTransferPortType
144      */
145     @WebEndpoint(name = "UDDI_Custody_Port")
146     public UDDICustodyTransferPortType getUDDICustodyPort() {
147         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Custody_Port"), UDDICustodyTransferPortType.class);
148     }
149 
150     /**
151      * 
152      * @param features
153      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
154      * @return
155      *     returns UDDICustodyTransferPortType
156      */
157     @WebEndpoint(name = "UDDI_Custody_Port")
158     public UDDICustodyTransferPortType getUDDICustodyPort(WebServiceFeature... features) {
159         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Custody_Port"), UDDICustodyTransferPortType.class, features);
160     }
161 
162     /**
163      * 
164      * @return
165      *     returns UDDIReplicationPortType
166      */
167     @WebEndpoint(name = "UDDI_Replication_Port")
168     public UDDIReplicationPortType getUDDIReplicationPort() {
169         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Replication_Port"), UDDIReplicationPortType.class);
170     }
171 
172     /**
173      * 
174      * @param features
175      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
176      * @return
177      *     returns UDDIReplicationPortType
178      */
179     @WebEndpoint(name = "UDDI_Replication_Port")
180     public UDDIReplicationPortType getUDDIReplicationPort(WebServiceFeature... features) {
181         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Replication_Port"), UDDIReplicationPortType.class, features);
182     }
183 
184     /**
185      * 
186      * @return
187      *     returns UDDISubscriptionPortType
188      */
189     @WebEndpoint(name = "UDDI_Subscription_Port")
190     public UDDISubscriptionPortType getUDDISubscriptionPort() {
191         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Subscription_Port"), UDDISubscriptionPortType.class);
192     }
193 
194     /**
195      * 
196      * @param features
197      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
198      * @return
199      *     returns UDDISubscriptionPortType
200      */
201     @WebEndpoint(name = "UDDI_Subscription_Port")
202     public UDDISubscriptionPortType getUDDISubscriptionPort(WebServiceFeature... features) {
203         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_Subscription_Port"), UDDISubscriptionPortType.class, features);
204     }
205 
206     /**
207      * 
208      * @return
209      *     returns UDDISubscriptionListenerPortType
210      */
211     @WebEndpoint(name = "UDDI_SubscriptionListener_Port")
212     public UDDISubscriptionListenerPortType getUDDISubscriptionListenerPort() {
213         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_SubscriptionListener_Port"), UDDISubscriptionListenerPortType.class);
214     }
215 
216     /**
217      * 
218      * @param features
219      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
220      * @return
221      *     returns UDDISubscriptionListenerPortType
222      */
223     @WebEndpoint(name = "UDDI_SubscriptionListener_Port")
224     public UDDISubscriptionListenerPortType getUDDISubscriptionListenerPort(WebServiceFeature... features) {
225         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_SubscriptionListener_Port"), UDDISubscriptionListenerPortType.class, features);
226     }
227 
228     /**
229      * 
230      * @return
231      *     returns UDDIValueSetValidationPortType
232      */
233     @WebEndpoint(name = "UDDI_ValueSetValidation_Port")
234     public UDDIValueSetValidationPortType getUDDIValueSetValidationPort() {
235         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_ValueSetValidation_Port"), UDDIValueSetValidationPortType.class);
236     }
237 
238     /**
239      * 
240      * @param features
241      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
242      * @return
243      *     returns UDDIValueSetValidationPortType
244      */
245     @WebEndpoint(name = "UDDI_ValueSetValidation_Port")
246     public UDDIValueSetValidationPortType getUDDIValueSetValidationPort(WebServiceFeature... features) {
247         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_ValueSetValidation_Port"), UDDIValueSetValidationPortType.class, features);
248     }
249 
250     /**
251      * 
252      * @return
253      *     returns UDDIValueSetCachingPortType
254      */
255     @WebEndpoint(name = "UDDI_ValueSetCaching_Port")
256     public UDDIValueSetCachingPortType getUDDIValueSetCachingPort() {
257         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_ValueSetCaching_Port"), UDDIValueSetCachingPortType.class);
258     }
259 
260     /**
261      * 
262      * @param features
263      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
264      * @return
265      *     returns UDDIValueSetCachingPortType
266      */
267     @WebEndpoint(name = "UDDI_ValueSetCaching_Port")
268     public UDDIValueSetCachingPortType getUDDIValueSetCachingPort(WebServiceFeature... features) {
269         return super.getPort(new QName("urn:uddi-org:v3_service", "UDDI_ValueSetCaching_Port"), UDDIValueSetCachingPortType.class, features);
270     }
271 
272 }