cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r539994 [2/2] - in /incubator/cxf/trunk: common/common/src/main/java/org/apache/cxf/helpers/ tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/ tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/...
Date Mon, 21 May 2007 02:12:45 GMT
Added: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl?view=auto&rev=539994
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl
(added)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl
Sun May 20 19:12:43 2007
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="HelloWorldImport" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://apache.org/hello_world" xmlns:x1="http://apache.org/hello_world/messages"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://apache.org/hello_world">
+
+    <wsdl:import namespace="http://apache.org/hello_world/messages" location="b.wsdl"/>
+
+    <wsdl:binding name="SOAPBinding" type="x1:GreeterA">	
+	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+	<wsdl:operation name="sayHi">
+	    <soap:operation style="document"/>
+	    <wsdl:input>
+		<soap:body use="literal"/>
+	    </wsdl:input>
+	    <wsdl:output>
+		<soap:body use="literal"/>
+	    </wsdl:output>
+	</wsdl:operation>
+    </wsdl:binding>
+    <service name="SOAPService">
+	<port binding="tns:SOAPBinding" name="SoapPort">
+	    <soap:address location="http://localhost:9000/headers"/>
+	</port>
+    </service>
+</wsdl:definitions>
\ No newline at end of file

Added: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/b.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/b.wsdl?view=auto&rev=539994
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/b.wsdl
(added)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/b.wsdl
Sun May 20 19:12:43 2007
@@ -0,0 +1,50 @@
+<?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 name="HelloWorld"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://apache.org/hello_world/messages"
+    xmlns:x1="http://apache.org/hello_world/types"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://apache.org/hello_world/messages">
+    <wsdl:types>
+        <schema xmlns="http://www.w3.org/2001/XMLSchema"
+		xmlns:x1="http://apache.org/hello_world/types"
+		targetNamespace="http://apache.org/hello_world/types"
+		elementFormDefault="qualified">
+	    <xsd:import namespace="http://apache.org/hello_world/types" schemaLocation="c.xsd"/>
+        </schema>
+    </wsdl:types>
+    <wsdl:message name="sayHiRequest">
+        <wsdl:part name="in" element="x1:sayHi"/>
+    </wsdl:message>
+    <wsdl:message name="sayHiResponse">
+        <wsdl:part name="out" element="x1:sayHiResponse"/>
+    </wsdl:message>
+
+    <wsdl:portType name="Greeter">
+        <wsdl:operation name="sayHi">
+            <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+            <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+
+</wsdl:definitions>
\ No newline at end of file

Added: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/c.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/c.xsd?view=auto&rev=539994
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/c.xsd
(added)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/c.xsd
Sun May 20 19:12:43 2007
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema attributeFormDefault="unqualified" 
+	   elementFormDefault="unqualified" 
+	   targetNamespace="http://apache.org/hello_world/types"
+	   xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <element name="sayHi">
+	<complexType/>
+    </element>
+    <element name="sayHiResponse">
+	<complexType>
+	    <sequence>
+		<element name="responseType" type="string"/>
+	    </sequence>
+	</complexType>
+    </element>
+</xs:schema>

Added: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/optionspt.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/optionspt.wsdl?view=auto&rev=539994
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/optionspt.wsdl
(added)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/optionspt.wsdl
Sun May 20 19:12:43 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://schemas.apache.org/yoko/idl/OptionsPT" 
+		  xmlns:tns="http://schemas.apache.org/yoko/idl/OptionsPT" 
+		  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+		  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd1="http://schemas.apache.org/yoko/idl/OptionsPT-types"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+    <wsdl:types>
+	<xsd:schema>
+	    <xsd:import namespace="http://schemas.apache.org/yoko/idl/OptionsPT-types" schemaLocation="schemapt.xsd"/>
+	</xsd:schema>
+    </wsdl:types>
+    <wsdl:message name="getEmployee">
+	<wsdl:part name="inparameter" element="xsd1:getEmployee">
+	</wsdl:part>
+    </wsdl:message>
+    <wsdl:message name="getEmployeeResponse">
+	<wsdl:part name="outparameter" element="xsd1:getEmployeeResponse">
+	</wsdl:part>
+    </wsdl:message>
+    <wsdl:portType name="foo.bar">
+	<wsdl:operation name="getEmployee">
+	    <wsdl:input name="getEmployeeRequest" message="tns:getEmployee">
+	    </wsdl:input>
+	    <wsdl:output name="getEmployeeResponse" message="tns:getEmployeeResponse">
+	    </wsdl:output>
+	</wsdl:operation>
+    </wsdl:portType>
+</wsdl:definitions>

Added: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/physicalpt.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/physicalpt.wsdl?view=auto&rev=539994
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/physicalpt.wsdl
(added)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/physicalpt.wsdl
Sun May 20 19:12:43 2007
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://schemas.apache.org/yoko/idl/OptionsPT" 
+		  xmlns:tns="http://schemas.apache.org/yoko/idl/OptionsPT" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+		  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+		  xmlns:xsd1="http://schemas.apache.org/yoko/idl/OptionsPT-types" 
+		  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+    <wsdl:import namespace="http://schemas.apache.org/yoko/idl/OptionsPT" location="optionspt.wsdl"/>
+
+    <wsdl:binding name="foo.barCORBABinding" type="tns:foo.bar">
+	<corba:binding repositoryID="IDL:foo/bar:1.0" />
+	<wsdl:operation name="getEmployee">
+	    <corba:operation name="getEmployee">
+		<corba:param xmlns="http://schemas.apache.org/yoko/idl/OptionsPT/typemap" mode="in"
name="inEmp" idltype="foo.bar.Employee" />
+		<corba:param xmlns="http://schemas.apache.org/yoko/idl/OptionsPT/typemap" mode="out"
name="outEmp" idltype="foo.bar.Employee" />
+		<corba:param xmlns="http://schemas.apache.org/yoko/idl/OptionsPT/typemap" mode="inout"
name="inoutEmp" idltype="foo.bar.Employee" />
+		<corba:return xmlns="http://schemas.apache.org/yoko/idl/OptionsPT/typemap" name="return"
idltype="foo.bar.Employee" />
+	    </corba:operation>
+	    <wsdl:input name="getEmployeeRequest">
+	    </wsdl:input>
+	    <wsdl:output name="getEmployeeResponse">
+	    </wsdl:output>
+	</wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="foo.barCORBAService">
+	<wsdl:port name="foo.barCORBAPort" binding="tns:foo.barCORBABinding">
+	    <corba:address location="IOR:" />
+	</wsdl:port>
+    </wsdl:service>
+    <corba:typeMapping targetNamespace="http://schemas.apache.org/yoko/idl/OptionsPT/typemap">
+	<corba:struct xmlns:ns4="http://schemas.apache.org/yoko/idl/OptionsPT-types" 
+		      xmlns="http://schemas.apache.org/yoko/idl/OptionsPT/typemap" repositoryID="IDL:foo/bar/Employee:1.0"
name="foo.bar.Employee" 
+		      type="ns4:foo.bar.Employee">
+	    <corba:member name="name" idltype="corba:string" />
+	    <corba:member name="number" idltype="corba:long" />
+	</corba:struct>
+    </corba:typeMapping>  
+</wsdl:definitions>

Added: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/schemapt.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/schemapt.xsd?view=auto&rev=539994
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/schemapt.xsd
(added)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/schemapt.xsd
Sun May 20 19:12:43 2007
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://schemas.apache.org/yoko/idl/OptionsPT-types"
xmlns:tns="http://schemas.apache.org/yoko/idl/OptionsPT-types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:complexType name="foo.bar.Employee">
+	<xs:sequence>
+	    <xs:element name="name" type="xs:string">
+	    </xs:element>
+	    <xs:element name="number" type="xs:int">
+	    </xs:element>
+	</xs:sequence>
+    </xs:complexType>
+    <xs:element name="getEmployee">
+	<xs:complexType>
+	    <xs:sequence>
+		<xs:element name="inEmp" type="tns:foo.bar.Employee">
+		</xs:element>
+		<xs:element name="inoutEmp" type="tns:foo.bar.Employee">
+		</xs:element>
+	    </xs:sequence>
+	</xs:complexType>
+    </xs:element>
+    <xs:element name="getEmployeeResponse">
+	<xs:complexType>
+	    <xs:sequence>
+		<xs:element name="return" type="tns:foo.bar.Employee">
+		</xs:element>
+		<xs:element name="outEmp" type="tns:foo.bar.Employee">
+		</xs:element>
+		<xs:element name="inoutEmp" type="tns:foo.bar.Employee">
+		</xs:element>
+	    </xs:sequence>
+	</xs:complexType>
+    </xs:element>
+</xs:schema>



Mime
View raw message