summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-ejb-runtime/src/test/java/calculator/AddServiceRemote.java
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-08-24 20:41:59 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-08-24 20:41:59 +0000
commite53e82b9fd0580c44bbbb440708c5c515a619a13 (patch)
tree7d4ffd521e7f57ee416e595cd6d00ed7658dda52 /sca-java-1.x/branches/sca-java-1.6.1/modules/binding-ejb-runtime/src/test/java/calculator/AddServiceRemote.java
parent7f71122819ff35eee24d75d850702a8784ee9e81 (diff)
Merge revision 980456 from trunk into the 1.6.1 branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@988716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/modules/binding-ejb-runtime/src/test/java/calculator/AddServiceRemote.java58
1 files changed, 32 insertions, 26 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-ejb-runtime/src/test/java/calculator/AddServiceRemote.java b/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-ejb-runtime/src/test/java/calculator/AddServiceRemote.java
index b0d1c8f6e5..936585eeb5 100644
--- a/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-ejb-runtime/src/test/java/calculator/AddServiceRemote.java
+++ b/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-ejb-runtime/src/test/java/calculator/AddServiceRemote.java
@@ -1,26 +1,32 @@
-/*
- * 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 calculator;
-
-import javax.ejb.Remote;
-
-@Remote
-public interface AddServiceRemote {
- double add(double n1, double n2);
-}
+/*
+ * 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 calculator;
+
+import javax.ejb.Remote;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+
+@Remote
+@WebService
+public interface AddServiceRemote {
+ @WebMethod(operationName = "Add")
+ double add(double n1, double n2);
+}
+