@@ -0,0 +1,880 @@
+package com.dreamchain.skeleton.WS;%0A%0Aimport com.dreamchain.skeleton.model.Customer;%0Aimport com.dreamchain.skeleton.model.User;%0Aimport com.dreamchain.skeleton.service.CustomerService;%0Aimport com.dreamchain.skeleton.service.UserService;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0A%0Aimport javax.jws.WebMethod;%0Aimport javax.jws.WebService;%0A%0A/**%0A * Created by LAPTOP DREAM on 11/4/2016.%0A */%0A%0A@WebService%0Apublic class CustomerWebService %7B%0A%0A    @Autowired(required = true)%0A    private CustomerService customerService;%0A%0A//    @WebMethod(exclude = true)%0A//    public void setCustomerService(CustomerService customerService) %7B%0A//        this.customerService = customerService;%0A//    %7D%0A    @WebMethod(operationName = %22getCustomerById%22)%0A    public Customer getCustomerById(long id) %7B%0A        Customer customer = customerService.get(id);%0A        return customer;%0A    %7D%0A%0A%0A%7D%0A

Add Customer soap web service