You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2010/03/12 18:10:05 UTC

svn commit: r922345 - in /tuscany/sandbox/slaws/axis-jaxws-experiment: ./ src/main/java/calculator/ src/main/webapp/ src/main/webapp/WEB-INF/ src/main/webapp/WEB-INF/services/ src/main/webapp/WEB-INF/services/add-service/ src/main/webapp/WEB-INF/servic...

Author: slaws
Date: Fri Mar 12 17:10:05 2010
New Revision: 922345

URL: http://svn.apache.org/viewvc?rev=922345&view=rev
Log:
turn into a axis2 war with no Tuscany involvement

Added:
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/services.xml   (with props)
Removed:
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/java/calculator/CalculatorClient.java
Modified:
    tuscany/sandbox/slaws/axis-jaxws-experiment/pom.xml
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService.wsdl
    tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService_schema1.xsd

Modified: tuscany/sandbox/slaws/axis-jaxws-experiment/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/slaws/axis-jaxws-experiment/pom.xml?rev=922345&r1=922344&r2=922345&view=diff
==============================================================================
--- tuscany/sandbox/slaws/axis-jaxws-experiment/pom.xml (original)
+++ tuscany/sandbox/slaws/axis-jaxws-experiment/pom.xml Fri Mar 12 17:10:05 2010
@@ -27,10 +27,18 @@
     </parent>
     <artifactId>sandbox-axis-jaxws-experiment</artifactId>
     <name>Apache Tuscany SCA Sandbox Axis JAXWS Experiment</name>
+    <packaging>war</packaging>
 
     <dependencies>
+    
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-sca-api</artifactId>
+            <version>2.0-SNAPSHOT</version>
+        </dependency>
+        
+        <!-- dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>tuscany-node-api</artifactId>
             <version>2.0-SNAPSHOT</version>
         </dependency>
@@ -54,6 +62,13 @@
             <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
             <version>2.0-SNAPSHOT</version>
             <scope>runtime</scope>
+        </dependency-->
+        
+        <dependency>
+          <groupId>org.apache.axis2</groupId>
+          <artifactId>axis2-webapp</artifactId>
+          <version>1.5.1</version>
+          <type>war</type>
         </dependency>
 
         <dependency>

Added: tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/services.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/services.xml?rev=922345&view=auto
==============================================================================
--- tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/services.xml (added)
+++ tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/services.xml Fri Mar 12 17:10:05 2010
@@ -0,0 +1,33 @@
+<!--
+    * 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.    
+-->
+<serviceGroup>
+  <service name="AddService" scope="application">
+
+    <description>Add Service</description>
+
+    <messageReceivers>
+      <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
+          class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/>
+    </messageReceivers>
+    <parameter name="ServiceClass">calculator.AddServiceImpl</parameter>
+    <parameter name="useOriginalwsdl">true</parameter>
+  </service>
+
+</serviceGroup>
+

Propchange: tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/services.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/services.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: tuscany/sandbox/slaws/axis-jaxws-experiment/src/main/webapp/WEB-INF/services/add-service/META-INF/services.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService.wsdl
URL: http://svn.apache.org/viewvc/tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService.wsdl?rev=922345&r1=922344&r2=922345&view=diff
==============================================================================
--- tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService.wsdl (original)
+++ tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService.wsdl Fri Mar 12 17:10:05 2010
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+    * 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.    
+-->
 <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.1 in JDK 6. -->
 <definitions targetNamespace="http://calculator/" name="AddServiceImplService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://calculator/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
   <types>
@@ -32,7 +50,7 @@
   </binding>
   <service name="AddServiceImplService">
     <port name="AddServiceImplPort" binding="tns:AddServiceImplPortBinding">
-      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+      <soap:address location="http://localhost:8080/Test/Add"/>
     </port>
   </service>
 </definitions>

Modified: tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService_schema1.xsd
URL: http://svn.apache.org/viewvc/tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService_schema1.xsd?rev=922345&r1=922344&r2=922345&view=diff
==============================================================================
--- tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService_schema1.xsd (original)
+++ tuscany/sandbox/slaws/axis-jaxws-experiment/src/wsgenout/AddServiceImplService_schema1.xsd Fri Mar 12 17:10:05 2010
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+    * 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.    
+-->
 <xs:schema version="1.0" targetNamespace="http://calculator/" xmlns:tns="http://calculator/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
 
   <xs:element name="add" type="tns:add"/>