1 2 package org.objectweb.rentacar.services.client; 3 4 import java.util.List ; 5 import javax.jws.WebMethod; 6 import javax.jws.WebParam; 7 import javax.jws.WebResult; 8 import javax.jws.WebService; 9 import javax.xml.datatype.XMLGregorianCalendar ; 10 import javax.xml.ws.RequestWrapper; 11 import javax.xml.ws.ResponseWrapper; 12 import org.objectweb.rentacar.services.client.AgencyException_Exception; 13 import org.objectweb.rentacar.services.client.AgencyReservationServiceImpl; 14 import org.objectweb.rentacar.services.client.CarCriteria; 15 import org.objectweb.rentacar.services.client.DAOException_Exception; 16 17 18 24 @WebService(name = "AgencyReservationServiceImpl", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", wsdlLocation = "/home/rbarraza/workspace-rentacar/apps/agency-reservation/src/resources/AgencyReservationServiceImplService.wsdl") 25 public interface AgencyReservationServiceImpl { 26 27 28 40 @WebMethod 41 @WebResult(targetNamespace = "") 42 @RequestWrapper(localName = "createReservation", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CreateReservation") 43 @ResponseWrapper(localName = "createReservationResponse", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CreateReservationResponse") 44 public String createReservation( 45 @WebParam(name = "carId", targetNamespace = "") 46 String carId, 47 @WebParam(name = "startDate", targetNamespace = "") 48 XMLGregorianCalendar startDate, 49 @WebParam(name = "endDate", targetNamespace = "") 50 XMLGregorianCalendar endDate, 51 @WebParam(name = "customerId", targetNamespace = "") 52 String customerId, 53 @WebParam(name = "startAgencyId", targetNamespace = "") 54 String startAgencyId, 55 @WebParam(name = "endAgencyId", targetNamespace = "") 56 String endAgencyId) 57 throws AgencyException_Exception 58 ; 59 60 73 @WebMethod 74 @WebResult(targetNamespace = "") 75 @RequestWrapper(localName = "createReservationPartner", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CreateReservationPartner") 76 @ResponseWrapper(localName = "createReservationPartnerResponse", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CreateReservationPartnerResponse") 77 public List <String > createReservationPartner( 78 @WebParam(name = "criterion", targetNamespace = "") 79 CarCriteria criterion, 80 @WebParam(name = "quantity", targetNamespace = "") 81 int quantity, 82 @WebParam(name = "startDate", targetNamespace = "") 83 XMLGregorianCalendar startDate, 84 @WebParam(name = "endDate", targetNamespace = "") 85 XMLGregorianCalendar endDate, 86 @WebParam(name = "partnerId", targetNamespace = "") 87 String partnerId, 88 @WebParam(name = "startAgencyId", targetNamespace = "") 89 String startAgencyId, 90 @WebParam(name = "endAgencyId", targetNamespace = "") 91 String endAgencyId) 92 throws DAOException_Exception 93 ; 94 95 100 @WebMethod 101 @RequestWrapper(localName = "closeReservation", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CloseReservation") 102 @ResponseWrapper(localName = "closeReservationResponse", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CloseReservationResponse") 103 public void closeReservation( 104 @WebParam(name = "reservationCode", targetNamespace = "") 105 String reservationCode) 106 throws AgencyException_Exception 107 ; 108 109 116 @WebMethod 117 @WebResult(targetNamespace = "") 118 @RequestWrapper(localName = "cancelReservation", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CancelReservation") 119 @ResponseWrapper(localName = "cancelReservationResponse", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CancelReservationResponse") 120 public boolean cancelReservation( 121 @WebParam(name = "reservationId", targetNamespace = "") 122 String reservationId) 123 throws AgencyException_Exception 124 ; 125 126 } 127 | Popular Tags |