1package org.apache.juddi.v3.client;
2/*3 * Copyright 2001-2008 The Apache Software Foundation.4 * 5 * Licensed under the Apache License, Version 2.0 (the "License");6 * you may not use this file except in compliance with the License.7 * You may obtain a copy of the License at8 * 9 * http://www.apache.org/licenses/LICENSE-2.010 * 11 * Unless required by applicable law or agreed to in writing, software12 * distributed under the License is distributed on an "AS IS" BASIS,13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.14 * See the License for the specific language governing permissions and15 * limitations under the License.16 *17 */18import java.net.URL;
19import javax.xml.namespace.QName;
20import javax.xml.ws.Service;
21import javax.xml.ws.WebEndpoint;
22import javax.xml.ws.WebServiceClient;
23import org.uddi.v2_service.Inquire;
24import org.uddi.v2_service.Publish;
252627/**28 * The UDDIService is defined by the UDDI v2 specification as the Service from which29 * all UDDI Ports can be obtained. All known ports: Inquire, Publish30 * 31 * This class was generated by the JAX-WS RI.32 * JAX-WS RI 2.2.4-b0133 * Generated source version: 2.234 * 35 */36 @WebServiceClient(name = "UDDI_Service", targetNamespace = "urn:uddi-org:v2_service", wsdlLocation = "classpath:/uddi_v2_service.wsdl")
37publicclassUDDIServiceV238extends Service
39 {
4041privatefinalstatic URL UDDISERVICE_WSDL_LOCATION;
4243privatefinalstatic QName UDDISERVICE_QNAME = new QName("urn:uddi-org:v2_service", "UDDI_Service");
4445static {
46 URL url = ClassUtil.getResource("uddi_v2_service.wsdl",UDDIServiceV2.class);
47 UDDISERVICE_WSDL_LOCATION = url;
48 }
4950publicUDDIServiceV2() {
51super(UDDISERVICE_WSDL_LOCATION, UDDISERVICE_QNAME);
52 }
5354publicUDDIServiceV2(URL wsdlLocation) {
55super(wsdlLocation, UDDISERVICE_QNAME);
56 }
5758publicUDDIServiceV2(URL wsdlLocation, QName serviceName) {
59super(wsdlLocation, serviceName);
60 }
6162/**63 * UDDI v2 Inquire API64 * @return65 * returns Inquire66 */67 @WebEndpoint(name = "Inquire")
68publicInquire getInquire() {
69returnsuper.getPort(new QName("urn:uddi-org:v2_service", "Inquire"), Inquire.class);
70 }
717273/**74 * UDDI v2 Publish API75 * @return76 * returns Publish77 */78 @WebEndpoint(name = "Publish")
79publicPublish getPublish() {
80returnsuper.getPort(new QName("urn:uddi-org:v2_service", "Publish"), Publish.class);
81 }
828384 }