1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.ksb.testclient2;
17
18 import org.apache.cxf.message.Message;
19 import org.apache.cxf.phase.PhaseInterceptorChain;
20 import org.kuali.rice.ksb.messaging.remotedservices.EchoService;
21 import org.kuali.rice.ksb.messaging.remotedservices.ServiceCallInformationHolder;
22
23 import java.util.List;
24 import java.util.Map;
25
26 public class EchoService2Impl implements EchoService {
27 public String echo(String string) {
28 return string;
29 }
30
31 public String trueEcho(String string) {
32 return string;
33 }
34
35 public void captureHeaders() {
36 ServiceCallInformationHolder.multiValues = (Map<String, List<String>>)PhaseInterceptorChain.getCurrentMessage().get(Message.PROTOCOL_HEADERS);
37 }
38
39 }