1/*2 * Copyright 2001-2010 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 at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * 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 and14 * limitations under the License.15 *16 */17package org.apache.juddi.samples;
1819import java.net.URL;
2021import javax.xml.namespace.QName;
22import javax.xml.ws.Service;
23import javax.xml.ws.WebEndpoint;
24import javax.xml.ws.WebServiceClient;
2526import org.apache.juddi.v3.client.ClassUtil;
272829/**30 * The Hello World Service registered using WSDL2UDDI31 * 32 * This class was generated by the JAX-WS RI.33 * JAX-WS RI 2.2.4-b0134 * Generated source version: 2.235 * 36 */37 @WebServiceClient(name = "HelloWorld", targetNamespace = "http://samples.juddi.apache.org/", wsdlLocation = "src/main/resources/wsdl/helloworld.wsdl")
38publicclassHelloWorld_Service39extends Service
40 {
4142privatefinalstatic URL HELLOWORLD_WSDL_LOCATION;
4344privatefinalstatic QName HELLOWORLD_QNAME = new QName("http://samples.juddi.apache.org/", "HelloWorld");
4546static {
47 HELLOWORLD_WSDL_LOCATION = ClassUtil.getResource("/wsdl/helloworld.wsdl",HelloWorld_Service.class);
48 }
4950publicHelloWorld_Service() {
51super(__getWsdlLocation(), HELLOWORLD_QNAME);
52 }
5354publicHelloWorld_Service(URL wsdlLocation) {
55super(wsdlLocation, HELLOWORLD_QNAME);
56 }
5758publicHelloWorld_Service(URL wsdlLocation, QName serviceName) {
59super(wsdlLocation, serviceName);
60 }
6162/**63 * 64 * @return65 * returns HelloWorld66 */67 @WebEndpoint(name = "HelloWorldImplPort")
68publicHelloWorld getHelloWorldImplPort() {
69returnsuper.getPort(new QName("http://samples.juddi.apache.org/", "HelloWorldImplPort"), HelloWorld.class);
70 }
7172privatestatic URL __getWsdlLocation() {
73return HELLOWORLD_WSDL_LOCATION;
74 }
7576 }