Class ServiceListController

java.lang.Object
de.hybris.platform.ndc182webservices.controllers.ServiceListController

@Controller @RequestMapping("/{baseSiteId}") public class ServiceListController extends Object
Controller responsible to process the ServiceList message
  • Constructor Details

    • ServiceListController

      public ServiceListController()
  • Method Details

    • getServiceList

      @RequestMapping(value="/servicelist", method=POST, consumes="application/xml", produces="application/xml") @ResponseBody @Secured("ROLE_TRAVELAGENCYGROUP") public IATAServiceListRS getServiceList(@RequestBody IATAServiceListRQ serviceListRQ)
      Given an order or a set of offers from airshopping it returns the list of available services available on the associated flights
      Parameters:
      serviceListRQ -
      Returns:
      the ServiceList response object
    • createErrorResponse

      protected IATAServiceListRS createErrorResponse(List<ErrorType> errors)
      Creates an error IATAOrderViewRS response
      Parameters:
      errors -
      Returns:
      an error IATAOrderViewRS response
    • createError

      protected ErrorType createError(String errorMessage)
      Creates an error type
      Parameters:
      errorMessage -
      Returns:
      an ErrorType