caa7e41b69b82b8805387c04c23c35c1640a5c5a
[SpringWebServicesForFun/.git] /
1 package de.spring.webservices.services.impl;
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.auto.ParentEnumType;
8 import de.spring.webservices.operations.Operations;
9
10
11 @Service("customBindingExampleService")
12 public class CustomBindingExampleServiceImpl implements
13         Operations.RequestResponse<CustomBindingExampleResponse, CustomBindingExampleRequest> {
14
15         
16         @Override
17     public CustomBindingExampleResponse requestResponse(final CustomBindingExampleRequest request) {
18                 
19         CustomBindingExampleResponse response = new CustomBindingExampleResponse();
20
21         response.setData("CUSTOM BINDING SNAKE EYES AND " + request.getData());
22         response.setParentEnum(ParentEnumType.FIRST);
23
24         return response;
25     }
26
27 }