ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kruler" <dkru...@giantbear.com>
Subject WSDL
Date Wed, 06 Jun 2001 14:58:35 GMT
I am trying to generate WSDL, does the following WSDL look valid:

<?xml version="1.0"?>
<defenitions name="SOAPTester"
		targetNamespace="SOAPTester"
		xmlns="http://schemas.xmlsoap.org/wsdl/"
		xmlns:tns="urn:SOAPTester"
		xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
		xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
	<types>
		<xsd:schema targetNamespace="SOAPTester"
xmlns="http://www.w3.org/2000/10/XMLSchema">
			<complexType name="ArrayOfstring">
				<xsd:complexContent>
					<xsd:restriction
base="SOAP-ENC:Array">
						<xsd:attribute
ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]" />
					</xsd:restriction>
				</xsd:complexContent>
			</complexType>
			<complexType name="ArrayOflong">
				<xsd:complexContent>
					<xsd:restriction
base="SOAP-ENC:Array">
						<xsd:attribute
ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:long[]" />
					</xsd:restriction>
				</xsd:complexContent>
			</complexType>
			<complexType name="ArrayOfint">
				<xsd:complexContent>
					<xsd:restriction
base="SOAP-ENC:Array">
						<xsd:attribute
ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:int[]" />
					</xsd:restriction>
				</xsd:complexContent>
			</complexType>
			<complexType name="ArrayOffloat">
				<xsd:complexContent>
					<xsd:restriction
base="SOAP-ENC:Array">
						<xsd:attribute
ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:float[]" />
					</xsd:restriction>
				</xsd:complexContent>
			</complexType>
			<complexType name="ArrayOfdouble">
				<xsd:complexContent>
					<xsd:restriction
base="SOAP-ENC:Array">
						<xsd:attribute
ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:double[]" />
					</xsd:restriction>
				</xsd:complexContent>
			</complexType>
			<complexType name="ArrayOfbyte">
				<xsd:complexContent>
					<xsd:restriction
base="SOAP-ENC:Array">
						<xsd:attribute
ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:byte[]" />
					</xsd:restriction>
				</xsd:complexContent>
			</complexType>
		</xsd:schema>
	</types>
	<message name="setIaInput">
		<part name="result" element="xsd:ArrayOfint">
	</message>
	<message name="setFaInput">
		<part name="result" element="xsd:ArrayOffloat">
	</message>
	<message name="getFaOutput">
		<part name="result" element="xsd:ArrayOffloat">
	</message>
	<message name="getLaOutput">
		<part name="result" element="xsd:ArrayOflong">
	</message>
	<message name="getLOutput">
		<part name="result" element="xsd:long">
	</message>
	<message name="getFOutput">
		<part name="result" element="xsd:float">
	</message>
	<message name="setLInput">
		<part name="param0" element="xsd:long">
	</message>
	<message name="getIOutput">
		<part name="result" element="xsd:int">
	</message>
	<message name="getDOutput">
		<part name="result" element="xsd:double">
	</message>
	<message name="getBaOutput">
		<part name="result" element="xsd:ArrayOfbyte">
	</message>
	<message name="setSInput">
		<part name="param0" element="xsd:string">
	</message>
	<message name="setSaInput">
		<part name="result" element="xsd:ArrayOfstring">
	</message>
	<message name="setDaInput">
		<part name="result" element="xsd:ArrayOfdouble">
	</message>
	<message name="getSaOutput">
		<part name="result" element="xsd:ArrayOfstring">
	</message>
	<message name="setLaInput">
		<part name="result" element="xsd:ArrayOflong">
	</message>
	<message name="getIaOutput">
		<part name="result" element="xsd:ArrayOfint">
	</message>
	<message name="setBInput">
		<part name="param0" element="xsd:byte">
	</message>
	<message name="getSOutput">
		<part name="result" element="xsd:string">
	</message>
	<message name="getBOutput">
		<part name="result" element="xsd:byte">
	</message>
	<message name="setDInput">
		<part name="param0" element="xsd:double">
	</message>
	<message name="setIInput">
		<part name="param0" element="xsd:int">
	</message>
	<message name="setBaInput">
		<part name="result" element="xsd:ArrayOfbyte">
	</message>
	<message name="setFInput">
		<part name="param0" element="xsd:float">
	</message>
	<message name="getDaOutput">
		<part name="result" element="xsd:ArrayOfdouble">
	</message>
	<portType name="SOAPTesterPortType">
		<operation name="setIa">
         	<input message="setIaInput"/>
		</operation>
		<operation name="setFa">
         	<input message="setFaInput"/>
		</operation>
		<operation name="getFa">
         	<output message="getFaOutput"/>
		</operation>
		<operation name="getLa">
         	<output message="getLaOutput"/>
		</operation>
		<operation name="getL">
         	<output message="getLOutput"/>
		</operation>
		<operation name="getF">
         	<output message="getFOutput"/>
		</operation>
		<operation name="setL">
         	<input message="setLInput"/>
		</operation>
		<operation name="getI">
         	<output message="getIOutput"/>
		</operation>
		<operation name="getD">
         	<output message="getDOutput"/>
		</operation>
		<operation name="getBa">
         	<output message="getBaOutput"/>
		</operation>
		<operation name="setS">
         	<input message="setSInput"/>
		</operation>
		<operation name="setSa">
         	<input message="setSaInput"/>
		</operation>
		<operation name="setDa">
         	<input message="setDaInput"/>
		</operation>
		<operation name="getSa">
         	<output message="getSaOutput"/>
		</operation>
		<operation name="setLa">
         	<input message="setLaInput"/>
		</operation>
		<operation name="getIa">
         	<output message="getIaOutput"/>
		</operation>
		<operation name="setB">
         	<input message="setBInput"/>
		</operation>
		<operation name="getS">
         	<output message="getSOutput"/>
		</operation>
		<operation name="getB">
         	<output message="getBOutput"/>
		</operation>
		<operation name="setD">
         	<input message="setDInput"/>
		</operation>
		<operation name="setI">
         	<input message="setIInput"/>
		</operation>
		<operation name="setBa">
         	<input message="setBaInput"/>
		</operation>
		<operation name="setF">
         	<input message="setFInput"/>
		</operation>
		<operation name="getDa">
         	<output message="getDaOutput"/>
		</operation>
	</portType>
	<binding name="SOAPTesterBinding" type="SOAPTesterPortType">
		<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="setIa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setFa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getFa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getLa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getL">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getF">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setL">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getI">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getD">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getBa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setS">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setSa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setDa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getSa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setLa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getIa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setB">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getS">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getB">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setD">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setI">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setBa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="setF">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
		<operation name="getDa">
			<soap:operation soapAction=""/>
			<input>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</input>
			<output>
				<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:SOAPTester"/>
			</output>
		</operation>
	</binding>
	<service name="SOAPTester">
		<port name="SOAPTesterPortType"
binding="SOAPTesterBinding">
			<soap:address
location="http://localhost:80/soap/servlet/rpcrouter"/>
		</port>
	</service>
</defenitions>

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Mime
View raw message