cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r502355 - in /incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle: ./ GreeterImplMixedStyle.java
Date Thu, 01 Feb 2007 20:56:29 GMT
Author: jliu
Date: Thu Feb  1 12:56:26 2007
New Revision: 502355

URL: http://svn.apache.org/viewvc?view=rev&rev=502355
Log:
missing files in my previous commit

Added:
    incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle/
    incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle/GreeterImplMixedStyle.java
  (with props)

Added: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle/GreeterImplMixedStyle.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle/GreeterImplMixedStyle.java?view=auto&rev=502355
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle/GreeterImplMixedStyle.java
(added)
+++ incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle/GreeterImplMixedStyle.java
Thu Feb  1 12:56:26 2007
@@ -0,0 +1,58 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.hello_world_mixedstyle;
+
+import javax.jws.WebService;
+
+import org.apache.hello_world_mixedstyle.types.FaultDetail;
+import org.apache.hello_world_mixedstyle.types.GreetMe1;
+import org.apache.hello_world_mixedstyle.types.GreetMeResponse;
+
+
+@WebService(serviceName = "SOAPService",
+            portName = "SoapPort",
+            endpointInterface = "org.apache.hello_world_mixedstyle.Greeter",
+            targetNamespace = "http://apache.org/hello_world_mixedstyle")
+public class GreeterImplMixedStyle implements Greeter {
+
+    public String sayHi() {
+        System.out.println("Call sayHi here ");
+        return "Bonjour";
+    }
+
+    public GreetMeResponse greetMe(GreetMe1 requestType) {
+        System.out.println("Call greetMe here: " + requestType.getRequestType());
+        GreetMeResponse response = new GreetMeResponse();
+        response.setResponseType("Hello " + requestType.getRequestType());
+        return response;
+    }
+
+    public void greetMeOneWay(String requestType) {
+        System.out.println("*********  greetMeOneWay: " + requestType);
+    }
+
+    public void pingMe() throws PingMeFault {
+        FaultDetail faultDetail = new FaultDetail();
+        faultDetail.setMajor((short)2);
+        faultDetail.setMinor((short)1);
+        throw new PingMeFault("PingMeFault raised by server", faultDetail);
+
+    }
+
+}

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle/GreeterImplMixedStyle.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_mixedstyle/GreeterImplMixedStyle.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date



Mime
View raw message