/** * Most of the code in the Qalingo project is copyrighted Hoteia and licensed * under the Apache License Version 2.0 (release version 0.8.0) * http://www.apache.org/licenses/LICENSE-2.0 * * Copyright (c) Hoteia, 2012-2014 * http://www.hoteia.com - http://twitter.com/hoteia - contact@hoteia.com * */ package org.hoteia.qalingo.core.ws.service; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; import org.hoteia.qalingo.core.pojo.customer.CustomerPojo; @WebService(name = "customerWsClient", targetNamespace = "http://www.qalingo.com") public interface CustomerWebService { @WebMethod(operationName = "getAllCustomers") List<CustomerPojo> getAllCustomers(); @WebMethod(operationName = "getCustomer") CustomerPojo getCustomerById(@WebParam(name = "id") final String customerId); @WebMethod(operationName = "saveOrUpdateCustomer") void saveOrUpdateCustomer(@WebParam(name = "customer") final CustomerPojo customer) throws Exception; }