KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > services > client > AgencyCheckAvailabilityServiceImplService


1
2 package org.objectweb.rentacar.services.client;
3
4 import java.net.MalformedURLException JavaDoc;
5 import java.net.URL JavaDoc;
6 import javax.xml.namespace.QName JavaDoc;
7 import javax.xml.ws.Service;
8 import javax.xml.ws.WebEndpoint;
9 import javax.xml.ws.WebServiceClient;
10 import org.objectweb.rentacar.services.client.AgencyCheckAvailabilityServiceImpl;
11 import org.objectweb.rentacar.services.client.AgencyCheckAvailabilityServiceImplService;
12
13
14 /**
15  * This class was generated by the JAXWS SI.
16  * JAX-WS RI 2.0-b26-ea3
17  * Generated source version: 2.0
18  *
19  */

20 @WebServiceClient(name = "AgencyCheckAvailabilityServiceImplService", targetNamespace = "http://availability.services.agency.rentacar.objectweb.org/", wsdlLocation = "/home/rbarraza/workspace-rentacar/apps/agency-reservation/src/resources/AgencyCheckAvailabilityServiceImplService.wsdl")
21 public class AgencyCheckAvailabilityServiceImplService
22     extends Service
23 {
24
25     private final static URL JavaDoc WSDL_LOCATION;
26     private final static QName JavaDoc AGENCYCHECKAVAILABILITYSERVICEIMPLSERVICE = new QName JavaDoc("http://availability.services.agency.rentacar.objectweb.org/", "AgencyCheckAvailabilityServiceImplService");
27     private final static QName JavaDoc AGENCYCHECKAVAILABILITYSERVICEIMPLPORT = new QName JavaDoc("http://availability.services.agency.rentacar.objectweb.org/", "AgencyCheckAvailabilityServiceImplPort");
28
29     static {
30         URL JavaDoc url = null;
31         try {
32             url = new URL JavaDoc("file:/home/rbarraza/workspace-rentacar/apps/agency-reservation/src/resources/AgencyCheckAvailabilityServiceImplService.wsdl");
33         } catch (MalformedURLException JavaDoc e) {
34             e.printStackTrace();
35         }
36         WSDL_LOCATION = url;
37     }
38
39     public AgencyCheckAvailabilityServiceImplService(URL JavaDoc wsdlLocation, QName JavaDoc serviceName) {
40         super(wsdlLocation, serviceName);
41     }
42
43     public AgencyCheckAvailabilityServiceImplService() {
44         super(WSDL_LOCATION, AGENCYCHECKAVAILABILITYSERVICEIMPLSERVICE);
45     }
46
47     /**
48      *
49      * @return
50      * returns AgencyCheckAvailabilityServiceImpl
51      */

52     @WebEndpoint(name = "AgencyCheckAvailabilityServiceImplPort")
53     public AgencyCheckAvailabilityServiceImpl getAgencyCheckAvailabilityServiceImplPort() {
54         return (AgencyCheckAvailabilityServiceImpl)super.getPort(AGENCYCHECKAVAILABILITYSERVICEIMPLPORT, AgencyCheckAvailabilityServiceImpl.class);
55     }
56
57 }
58
Popular Tags