axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r209565 - in /webservices/axis/trunk/java/modules/wsdl/test-resources: compound1.wsdl compound2.wsdl
Date Thu, 07 Jul 2005 05:30:58 GMT
Author: chathura
Date: Wed Jul  6 22:30:56 2005
New Revision: 209565

URL: http://svn.apache.org/viewcvs?rev=209565&view=rev
Log:
Adding the interop wsdls

Added:
    webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl
    webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl

Added: webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl?rev=209565&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl (added)
+++ webservices/axis/trunk/java/modules/wsdl/test-resources/compound1.wsdl Wed Jul  6 22:30:56
2005
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlns="http://soapinterop.org/"
xmlns:typens="http://soapinterop.org/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SoapInteropCompound" targetNamespace="http://soapinterop.org/">
+	<types>
+		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd"
elementFormDefault="qualified">			
+			<complexType name="Person">
+				<sequence>
+					<element minOccurs="1" maxOccurs="1" name="Age" type="double"/>
+					<element minOccurs="1" maxOccurs="1" name="ID" type="xsd:float"/>					
+				</sequence>
+				<attribute name="Name" type="string"/>
+				<attribute name="Male" type="boolean"/>
+			</complexType>
+			<element name="x_Person" type="typens:Person"/>	
+			<element name="result_Person" type="typens:Person"/>
+			
+			<complexType name="Document">
+			<simpleContent>
+			 <extension base="string">
+			   <xsd:attribute name="ID" type="string"/>
+			 </extension>
+			</simpleContent>
+			</complexType>	
+			<element name="x_Document" type="typens:Document"/>	
+			<element name="result_Document" type="typens:Document"/>	
+		</schema>
+	</types>
+	<message name="echoPerson">
+		<part name="x" element="typens:x_Person"/>
+	</message>
+	<message name="echoPersonResponse">
+		<part name="Result" element="typens:result_Person"/>
+	</message>
+	<message name="echoDocument">
+		<part name="x" element="typens:x_Document"/>
+	</message>
+	<message name="echoDocumentResponse">
+		<part name="Result" element="typens:result_Document"/>
+	</message>
+	<portType name="SoapInteropCompound1PortType">
+		<operation name="echoPerson" parameterOrder="x">
+			<input message="wsdlns:echoPerson"/>
+			<output message="wsdlns:echoPersonResponse"/>
+		</operation>
+		<operation name="echoDocument" parameterOrder="x">
+			<input message="wsdlns:echoDocument"/>
+			<output message="wsdlns:echoDocumentResponse"/>
+		</operation>
+	</portType>
+	<binding name="SoapInteropCompound1Binding" type="wsdlns:SoapInteropCompound1PortType">
+		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+		<operation name="echoPerson">
+			<soap:operation soapAction="http://soapinterop/echoPerson"/>
+			<input>
+				<soap:body use="literal"/>
+			</input>
+			<output>
+				<soap:body use="literal"/>
+			</output>
+		</operation>
+		<operation name="echoDocument">
+			<soap:operation soapAction="http://soapinterop/echoDocument"/>
+			<input>
+				<soap:body use="literal"/>
+			</input>
+			<output>
+				<soap:body use="literal"/>
+			</output>
+		</operation>
+
+	</binding>
+	<service name="Compound1">
+		<port name="SoapInteropCompound1Port" binding="wsdlns:SoapInteropCompound1Binding">
+			<soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://soapinterop.java.sun.com:80/round3/groupd/compound1"/>
+		</port>
+	</service>
+</definitions>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl?rev=209565&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl (added)
+++ webservices/axis/trunk/java/modules/wsdl/test-resources/compound2.wsdl Wed Jul  6 22:30:56
2005
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlns="http://soapinterop.org/"
xmlns:emp="http://soapinterop.org/employee" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SoapInteropCompound" targetNamespace="http://soapinterop.org/">
+	<types>
+		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/person"
elementFormDefault="qualified">
+					
+			<complexType name="Person">
+				<sequence>
+					<element minOccurs="1" maxOccurs="1" name="Name" type="string"/>
+					<element minOccurs="1" maxOccurs="1" name="Male" type="boolean"/>					
+				</sequence>
+			</complexType>
+		</schema>
+		<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:prs="http://soapinterop.org/person"
targetNamespace="http://soapinterop.org/employee" elementFormDefault="qualified">
+                        <import namespace="http://soapinterop.org/person"/> 
+			<complexType name="Employee">
+				<sequence>
+					<element minOccurs="1" maxOccurs="1" name="person" type="prs:Person"/>
+					<element minOccurs="1" maxOccurs="1" name="salary" type="double"/>					
+					<element minOccurs="1" maxOccurs="1" name="ID" type="int"/>
+				</sequence>
+			</complexType>
+			<element name="x_Employee" type="emp:Employee"/>	
+			<element name="result_Employee" type="emp:Employee"/>
+		</schema>
+	</types>
+	<message name="echoEmployee">
+		<part name="x" element="emp:x_Employee"/>
+	</message>
+	<message name="echoEmployeeResponse">
+		<part name="result" element="emp:result_Employee"/>
+	</message>
+	<portType name="SoapInteropCompound2PortType">
+		<operation name="echoEmployee" parameterOrder="x">
+			<input message="wsdlns:echoEmployee"/>
+			<output message="wsdlns:echoEmployeeResponse"/>
+		</operation>
+	</portType>
+	<binding name="SoapInteropCompound2Binding" type="wsdlns:SoapInteropCompound2PortType">
+		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+		<operation name="echoEmployee">
+			<soap:operation soapAction="#echoEmployee"/>
+			<input>
+				<soap:body use="literal"/>
+			</input>
+			<output>
+				<soap:body use="literal"/>
+			</output>
+		</operation>		
+	</binding>
+	<service name="Compound2">
+		<port name="SoapInteropCompound2Port" binding="wsdlns:SoapInteropCompound2Binding">
+			<soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://soapinterop.java.sun.com:80/round3/groupd/compound2"/>
+		</port>
+	</service>
+</definitions>
\ No newline at end of file



Mime
View raw message