Appendix A. Building Wholesaler A and B service implementations 557
Wholesaler B also implements the same interfaces as Wholesaler A:
Get delivery days
Place an order
Cancel an order
We can reuse the interfaces from Wholesaler A shown in Table A-5.
Table A-5 Wholesaler B interfaces
Table A-6, Table A-7, and Table A-8 show the business objects that are used in
the interfaces listed in Table A-5. The interfaces and business objects are
identical to Wholesaler A.
Table A-6 Business objects of the get delivery interface WhDelReqWeb_I
Table A-7 Business objects of the place order interface WhPlaceOrdWeb_I
Get delivery days Place order Cancel order
Name WhDelReqWeb_I WhPlaceOrdWeb_I WhCnclOrdWeb_I
Operation getDeliveryDays placeOrder cancelOrder
Input getDeliveryDays
WholesalerRequest
placeOrderRequest cancelOrderRequest
Output getDeliveryDays
WholesalerResponse
PlaceOrderResponse cancelOrderResponse
Fault cannotFulfillOrder cannotFulfillOrder N/A
Name Business object
Input getDeliveryDaysWholesalerRequest WholesalerDeliveryDaysRequest
Output getDeliveryDaysWholesalerResponse WholesalerDeliveryDaysResponse
Fault cannotFulfillOrder WholesalerCannotFulfillOrder
Name Business object
Input placeOrderRequest WholesalerPlaceOrderRequest
Output PlaceOrderResponse WholesalerPlaceOrderResponse
Fault cannotFulfillOrder WholesalerCannotFulfillOrder