3d5646e4311b94b7ee679d66668f2bcfe2f34ab6
[SpringWebServicesForFun/.git] /
1 package de.spring.webservices.business;
2
3 import org.springframework.stereotype.Service;
4
5 import de.spring.webservices.auto.CustomBindingExampleRequest;
6 import de.spring.webservices.auto.CustomBindingExampleResponse;
7 import de.spring.webservices.operations.Operations;
8
9
10 @Service("customBindingBusinessExample")
11 public class CustomBindingBusinessExample implements
12         Operations.RequestResponse<CustomBindingExampleResponse, CustomBindingExampleRequest> {
13
14         
15         @Override
16     public CustomBindingExampleResponse requestResponse(
17                 final CustomBindingExampleRequest request) {
18         final CustomBindingExampleResponse response = new CustomBindingExampleResponse();
19
20         response.setData("CUSTOM BINDING SNAKE EYES AND " + request.getData());
21
22         return response;
23     }
24
25 }