tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramku...@apache.org
Subject svn commit: r801111 - in /tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl: META-INF/ META-INF/wsdl/ META-INF/wsdl/helloworld-import.wsdl META-INF/wsdl/helloworld.xsd helloworld.wsdl helloworldws.composite
Date Wed, 05 Aug 2009 09:48:11 GMT
Author: ramkumar
Date: Wed Aug  5 09:48:11 2009
New Revision: 801111

URL: http://svn.apache.org/viewvc?rev=801111&view=rev
Log:
Testcase for TUSCANY-2906 - test wsdl:imports and xsd:imports

Added:
    tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/
    tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/
    tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld-import.wsdl
    tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld.xsd
  (with props)
Modified:
    tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworld.wsdl
    tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworldws.composite

Added: tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld-import.wsdl
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld-import.wsdl?rev=801111&view=auto
==============================================================================
--- tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld-import.wsdl
(added)
+++ tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld-import.wsdl
Wed Aug  5 09:48:11 2009
@@ -0,0 +1,57 @@
+<?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.    
+-->
+
+<wsdl:definitions targetNamespace="http://helloworld3" 
+                  xmlns:tns="http://helloworld3" 
+                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+                  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
+                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	          	  name="helloworld-import">
+
+    <wsdl:types>
+        <schema xmlns="http://www.w3.org/2001/XMLSchema" 
+                xmlns:tns2="http://helloworld2" 
+                targetNamespace="http://helloworld3" 
+                elementFormDefault="qualified">
+                
+  	        <xsd:import namespace="http://helloworld2" schemaLocation="../../helloworld.xsd"
/>            
+  	        
+  	       	<element name="getGreetings" type="tns2:getGreetingsType"/>
+		    <element name="getGreetingsResponse" type="tns2:getGreetingsResponseType"/>
+
+        </schema>
+    </wsdl:types>
+
+    <wsdl:message name="getGreetingsRequest">
+        <wsdl:part element="tns:getGreetings" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:message name="getGreetingsResponse">
+        <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:portType name="HelloWorld">
+        <wsdl:operation name="getGreetings">
+            <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
+            <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+
+</wsdl:definitions>

Added: tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld.xsd
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld.xsd?rev=801111&view=auto
==============================================================================
--- tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld.xsd
(added)
+++ tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld.xsd
Wed Aug  5 09:48:11 2009
@@ -0,0 +1,35 @@
+<?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.
+-->
+<schema targetNamespace="http://helloworld2" 
+        xmlns="http://www.w3.org/2001/XMLSchema" 
+	    xmlns:ns="http://helloworld2">
+	
+	<complexType name="getGreetingsType">
+		<sequence>
+			<element name="name" type="string"/>
+		</sequence>
+	</complexType>
+
+	<complexType name="getGreetingsResponseType">
+		<sequence>
+			<element name="getGreetingsReturn" type="string"/>
+		</sequence>
+	</complexType>
+</schema>
\ No newline at end of file

Propchange: tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/META-INF/wsdl/helloworld.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworld.wsdl
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworld.wsdl?rev=801111&r1=801110&r2=801111&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworld.wsdl
(original)
+++ tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworld.wsdl
Wed Aug  5 09:48:11 2009
@@ -26,7 +26,7 @@
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 	          name="helloworld">
 	          
-    <wsdl:import namespace="http://helloworld3" location="../../META-INF/wsdl/helloworld-import.wsdl"
/>
+    <wsdl:import namespace="http://helloworld3" location="../../helloworld-import.wsdl"/>
     
     <wsdl:binding name="HelloWorldSoapBinding" type="tns3:HelloWorld">
         <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

Modified: tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworldws.composite
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworldws.composite?rev=801111&r1=801110&r2=801111&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworldws.composite
(original)
+++ tuscany/branches/sca-java-1.x/itest/wsdl/src/main/resources/imports/wsdl/helloworldws.composite
Wed Aug  5 09:48:11 2009
@@ -24,7 +24,8 @@
 
     <component name="HelloWorldServiceComponent">
 	    <service name="HelloWorldService">
-	        <interface.wsdl interface="http://helloworld3#wsdl.interface(HelloWorld)"  />
+	        <!--<interface.wsdl interface="http://helloworld3#wsdl.interface(HelloWorld)"
 />-->
+	        <interface.java interface="helloworld.HelloWorldService"/>
 	        <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"
/>
 	    </service>
         <implementation.java class="helloworld.HelloWorldImpl" />



Mime
View raw message