Search in sources :

Example 6 with Booking

use of de.vitero.schema.booking.Booking in project openolat by klemens.

the class ViteroManager method getBookingWebService.

// Factories for service stubs
private final Booking getBookingWebService() {
    BookingService ss = new BookingService();
    ss.setHandlerResolver(new VmsSecurityHandlerResolver());
    Booking port = ss.getBookingSoap11();
    String endPoint = getVmsEndPoint("BookingService");
    ((BindingProvider) port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endPoint);
    return port;
}
Also used : Booking(de.vitero.schema.booking.Booking) ViteroBooking(org.olat.modules.vitero.model.ViteroBooking) BookingService(de.vitero.schema.booking.BookingService)

Aggregations

Booking (de.vitero.schema.booking.Booking)6 ViteroBooking (org.olat.modules.vitero.model.ViteroBooking)6 ConnectException (java.net.ConnectException)4 WebServiceException (javax.xml.ws.WebServiceException)4 SOAPFaultException (javax.xml.ws.soap.SOAPFaultException)4 ErrorCode (org.olat.modules.vitero.model.ErrorCode)4 BookingService (de.vitero.schema.booking.BookingService)2 Booking_Type (de.vitero.schema.booking.Booking_Type)2 Bookinglist (de.vitero.schema.booking.Bookinglist)2 Bookingtype (de.vitero.schema.booking.Bookingtype)2 CreateBookingRequest (de.vitero.schema.booking.CreateBookingRequest)2 CreateBookingResponse (de.vitero.schema.booking.CreateBookingResponse)2 GetBookingListByDateRequest (de.vitero.schema.booking.GetBookingListByDateRequest)2 Newbookingtype (de.vitero.schema.booking.Newbookingtype)2 ViteroStatus (org.olat.modules.vitero.model.ViteroStatus)2