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.AgencyCriteria; 13 import org.objectweb.rentacar.services.client.AgencyVO; 14 import org.objectweb.rentacar.services.client.CarCriteria; 15 import org.objectweb.rentacar.services.client.CarVO; 16 import org.objectweb.rentacar.services.client.CentralOfficeException_Exception; 17 import org.objectweb.rentacar.services.client.ConsultationImpl; 18 19 20 26 @WebService(name = "ConsultationImpl", targetNamespace = "http://consultation.services.centraloffice.rentacar.objectweb.org/", wsdlLocation = "/home/rbarraza/workspace-rentacar/apps/agency-reservation/src/resources/ConsultationImplService.wsdl") 27 public interface ConsultationImpl { 28 29 30 37 @WebMethod 38 @WebResult(targetNamespace = "") 39 @RequestWrapper(localName = "retreiveAgencies", targetNamespace = "http://consultation.services.centraloffice.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.RetreiveAgencies") 40 @ResponseWrapper(localName = "retreiveAgenciesResponse", targetNamespace = "http://consultation.services.centraloffice.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.RetreiveAgenciesResponse") 41 public List <AgencyVO> retreiveAgencies( 42 @WebParam(name = "agencyCriteria", targetNamespace = "") 43 AgencyCriteria agencyCriteria) 44 throws CentralOfficeException_Exception 45 ; 46 47 56 @WebMethod 57 @WebResult(targetNamespace = "") 58 @RequestWrapper(localName = "consult", targetNamespace = "http://consultation.services.centraloffice.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.Consult") 59 @ResponseWrapper(localName = "consultResponse", targetNamespace = "http://consultation.services.centraloffice.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.ConsultResponse") 60 public List <CarVO> consult( 61 @WebParam(name = "criterium", targetNamespace = "") 62 CarCriteria criterium, 63 @WebParam(name = "startDate", targetNamespace = "") 64 XMLGregorianCalendar startDate, 65 @WebParam(name = "endDate", targetNamespace = "") 66 XMLGregorianCalendar endDate) 67 throws CentralOfficeException_Exception 68 ; 69 70 } 71 | Popular Tags |