01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */package org.apache.cxf.greeter_control;
19:
20: import java.util.concurrent.Future;
21:
22: import javax.jws.WebService;
23: import javax.xml.ws.AsyncHandler;
24: import javax.xml.ws.Response;
25:
26: import org.apache.cxf.greeter_control.types.GreetMeResponse;
27: import org.apache.cxf.greeter_control.types.PingMeResponse;
28: import org.apache.cxf.greeter_control.types.SayHiResponse;
29:
30: @WebService(serviceName="GreeterService",portName="GreeterPort",endpointInterface="org.apache.cxf.greeter_control.Greeter",targetNamespace="http://cxf.apache.org/greeter_control")
31: /* This class does not implement the SEI */
32: public class GreeterImplBase {
33:
34: public String greetMe(String me) {
35: return "Hello " + me;
36: }
37:
38: public String sayHi() {
39: return "Bonjour";
40: }
41:
42: public void greetMeOneWay(String requestType) {
43: System.out.println("********* greetMeOneWay: " + requestType);
44: }
45:
46: public void pingMe() throws PingMeFault {
47: }
48:
49: public Future<?> greetMeAsync(String requestType,
50: AsyncHandler<GreetMeResponse> asyncHandler) {
51: return null;
52: /*not called */
53: }
54:
55: public Response<GreetMeResponse> greetMeAsync(String requestType) {
56: return null;
57: /*not called */
58: }
59:
60: public Future<?> sayHiAsync(AsyncHandler<SayHiResponse> asyncHandler) {
61: return null;
62: /*not called */
63: }
64:
65: public Response<SayHiResponse> sayHiAsync() {
66: return null;
67: /*not called */
68: }
69:
70: public Response<PingMeResponse> pingMeAsync() {
71: return null;
72: }
73:
74: public Future<?> pingMeAsync(
75: AsyncHandler<PingMeResponse> asyncHandler) {
76: return null;
77: }
78:
79: }
|