tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r528814 - in /incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test: java/org/apache/tuscany/binding/axis2/itests/ resources/org/apache/tuscany/binding/axis2/itests/
Date Sat, 14 Apr 2007 14:30:44 GMT
Author: antelder
Date: Sat Apr 14 07:30:43 2007
New Revision: 528814

URL: http://svn.apache.org/viewvc?view=rev&rev=528814
Log:
Fix up the Axis2 heloworld/helloworldom tests

Added:
    incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/helloworld-om.composite
Modified:
    incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java
    incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldOMComponent.java

Modified: incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java?view=diff&rev=528814&r1=528813&r2=528814
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldComponent.java
Sat Apr 14 07:30:43 2007
@@ -19,16 +19,15 @@
 
 package org.apache.tuscany.binding.axis2.itests;
 
-import org.apache.axiom.om.OMElement;
 import org.osoa.sca.annotations.Reference;
 
-public class HelloWorldComponent implements HelloWorldOM {
+public class HelloWorldComponent implements HelloWorld {
 
     @Reference
-    public HelloWorldOM helloWorldWS;
+    public HelloWorld helloWorldWS;
     
-    public OMElement getGreetings(OMElement om) {
-        return helloWorldWS.getGreetings(om);
+    public String getGreetings(String s) {
+        return helloWorldWS.getGreetings(s);
     }
 
 }

Modified: incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldOMComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldOMComponent.java?view=diff&rev=528814&r1=528813&r2=528814
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldOMComponent.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/binding/axis2/itests/HelloWorldOMComponent.java
Sat Apr 14 07:30:43 2007
@@ -19,15 +19,16 @@
 
 package org.apache.tuscany.binding.axis2.itests;
 
+import org.apache.axiom.om.OMElement;
 import org.osoa.sca.annotations.Reference;
 
-public class HelloWorldOMComponent implements HelloWorld {
+public class HelloWorldOMComponent implements HelloWorldOM {
 
     @Reference
-    public HelloWorld helloWorldWS;
+    public HelloWorldOM helloWorldWS;
     
-    public String getGreetings(String s) {
-        return helloWorldWS.getGreetings(s);
+    public OMElement getGreetings(OMElement om) {
+        return helloWorldWS.getGreetings(om);
     }
 
 }

Added: incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/helloworld-om.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/helloworld-om.composite?view=auto&rev=528814
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/helloworld-om.composite
(added)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/binding/axis2/itests/helloworld-om.composite
Sat Apr 14 07:30:43 2007
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+
+           name="HelloWorldOM">
+
+    <component name="HelloWorldComponent">
+		<implementation.java class="org.apache.tuscany.binding.axis2.itests.HelloWorldOMComponent"/>
+        <reference name="helloWorldWS" />
+    </component>
+
+    <reference name="helloWorldWS" promote="HelloWorldComponent/helloWorldWS">
+        <interface.wsdl interface="http://helloworld-om#wsdl.interface(HelloWorld)" />
+        <binding.ws wsdlElement="http://helloworld-om#wsdl.port(HelloWorldService/HelloWorldSoapPort)"/>
+    </reference>
+
+</composite>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message