axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r416860 - /webservices/axis2/trunk/java/modules/samples/wsdl/Axis2SampleDocLit.wsdl
Date Sat, 24 Jun 2006 04:30:33 GMT
Author: dims
Date: Fri Jun 23 21:30:33 2006
New Revision: 416860

URL: http://svn.apache.org/viewvc?rev=416860&view=rev
Log:
Argh! this is a doc/lit sample and the style says "rpc" :(

changing it to document.
<soap:operation soapAction="echoStringArray" style="document"/>

Fix for AXIS2-843 - Axis2SampleDocLit.wsdl fails with "Data binding error" when using xmlbeans
databinding

PS: Pretty printed the wsdl as well.


Modified:
    webservices/axis2/trunk/java/modules/samples/wsdl/Axis2SampleDocLit.wsdl

Modified: webservices/axis2/trunk/java/modules/samples/wsdl/Axis2SampleDocLit.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/wsdl/Axis2SampleDocLit.wsdl?rev=416860&r1=416859&r2=416860&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/wsdl/Axis2SampleDocLit.wsdl (original)
+++ webservices/axis2/trunk/java/modules/samples/wsdl/Axis2SampleDocLit.wsdl Fri Jun 23 21:30:33
2006
@@ -1,136 +1,93 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<definitions name="Axis2SampleDocLitService"
-    targetNamespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-    xmlns="http://schemas.xmlsoap.org/wsdl/"
-    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
-    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-    xmlns:tns="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsd1="http://userguide.axis2.apache.org/xsd"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-    <types>
-        <schema targetNamespace="http://userguide.axis2.apache.org/xsd"
-            xmlns="http://www.w3.org/2001/XMLSchema"
-            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-            elementFormDefault="qualified">
-            <complexType name="ArrayOfstring_literal">
-                <sequence>
-                    <element maxOccurs="unbounded" minOccurs="1" name="string" type="xsd:string"/>
-                </sequence>
-            </complexType>
-            <complexType name="SOAPStruct">
-                <all>
-                    <element name="varFloat" type="xsd:float"/>
-                    <element name="varInt" type="xsd:int"/>
-                    <element name="varString" type="xsd:string"/>
-                </all>
-            </complexType>
-
-            <element name="echoStringParam" type="xsd:string"/>
-            <element name="echoIntParam" type="xsd:int"/>
-
-            <element name="echoStringReturn" type="xsd:string"/>
-            <element name="echoStringArrayParam" type="xsd1:ArrayOfstring_literal"/>
-
-            <element name="echoStringArrayReturn" type="xsd1:ArrayOfstring_literal"/>
-
-            <element name="echoStructParam" type="xsd1:SOAPStruct"/>
-
-            <element name="echoStructReturn" type="xsd1:SOAPStruct"/>
-        </schema>
-    </types>
-    <message name="echoString">
-        <part element="xsd1:echoStringParam" name="a"/>
-    </message>
-    <message name="echoStringResponse">
-        <part element="xsd1:echoStringReturn" name="result"/>
-    </message>
-    <message name="echoStringArray">
-        <part element="xsd1:echoStringArrayParam" name="a"/>
-    </message>
-    <message name="echoStringArrayResponse">
-        <part element="xsd1:echoStringArrayReturn" name="result"/>
-    </message>
-    <message name="echoStruct">
-        <part element="xsd1:echoStructParam" name="a"/>
-    </message>
-    <message name="echoStructResponse">
-        <part element="xsd1:echoStructReturn" name="result"/>
-    </message>
-    <!--<message name="echoVoid"/>
-    <message name="echoVoidResponse"/>-->
-
-    <portType name="Axis2SampleDocLitPortType">
-        <operation name="echoString">
-            <input message="tns:echoString" name="echoString"/>
-            <output message="tns:echoStringResponse" name="echoStringResponse"/>
-        </operation>
-        <operation name="echoStringArray">
-            <input message="tns:echoStringArray" name="echoStringArray"/>
-            <output message="tns:echoStringArrayResponse" name="echoStringArrayResponse"/>
-        </operation>
-        <operation name="echoStruct">
-            <input message="tns:echoStruct" name="echoStruct"/>
-            <output message="tns:echoStructResponse" name="echoStructResponse"/>
-        </operation>
-        <!--<operation name="echoVoid">
-            <input message="tns:echoVoid" name="echoVoid"/>
-            <output message="tns:echoVoidResponse" name="echoVoidResponse"/>
-        </operation>-->
-    </portType>
-    <binding name="Axis2SampleDocLitPortBinding"
-        type="tns:Axis2SampleDocLitPortType">
-        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-        <operation name="echoString">
-            <soap:operation soapAction="echoString" style="rpc"/>
-            <input name="echoString">
-                <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-                    use="literal"/>
-            </input>
-            <output name="echoStringResponse">
-                <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-                    use="literal"/>
-            </output>
-        </operation>
-        <operation name="echoStringArray">
-            <soap:operation soapAction="echoStringArray" style="rpc"/>
-            <input name="echoStringArray">
-                <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-                    use="literal"/>
-            </input>
-            <output name="echoStringArrayResponse">
-                <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-                    use="literal"/>
-            </output>
-        </operation>
-        <operation name="echoStruct">
-            <soap:operation soapAction="echoStruct" style="rpc"/>
-            <input name="echoStruct">
-                <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-                    use="literal"/>
-            </input>
-            <output name="echoStructResponse">
-                <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-                    use="literal"/>
-            </output>
-        </operation>
-        <!--<operation name="echoVoid">
-            <soap:operation soapAction="echoVoid" style="rpc"/>
-            <input name="echoVoid">
-                <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-                    use="literal"/>
-            </input>
-            <output name="echoVoidResponse">
-                <soap:body namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
-                    use="literal"/>
-            </output>
-        </operation>-->
-    </binding>
-    <service name="Axis2SampleDocLitService">
-        <port binding="tns:Axis2SampleDocLitPortBinding"
-            name="Axis2SampleDocLitPort">
-            <soap:address
-                location="http://userguide.axis2.apache.org/stkv3/wsdl/Axis2SampleDocLit.wsdl"/>
-        </port>
-    </service>
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://userguide.axis2.apache.org/Axis2SampleDocLit"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://userguide.axis2.apache.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"
name="Axis2SampleDocLitService">
+	<types>
+		<schema targetNamespace="http://userguide.axis2.apache.org/xsd" xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="qualified">
+			<complexType name="ArrayOfstring_literal">
+				<sequence>
+					<element maxOccurs="unbounded" minOccurs="1" name="string" type="xsd:string"/>
+				</sequence>
+			</complexType>
+			<complexType name="SOAPStruct">
+				<all>
+					<element name="varFloat" type="xsd:float"/>
+					<element name="varInt" type="xsd:int"/>
+					<element name="varString" type="xsd:string"/>
+				</all>
+			</complexType>
+			<element name="echoStringParam" type="xsd:string"/>
+			<element name="echoIntParam" type="xsd:int"/>
+			<element name="echoStringReturn" type="xsd:string"/>
+			<element name="echoStringArrayParam" type="xsd1:ArrayOfstring_literal"/>
+			<element name="echoStringArrayReturn" type="xsd1:ArrayOfstring_literal"/>
+			<element name="echoStructParam" type="xsd1:SOAPStruct"/>
+			<element name="echoStructReturn" type="xsd1:SOAPStruct"/>
+		</schema>
+	</types>
+	<message name="echoString">
+		<part name="a" element="xsd1:echoStringParam"/>
+	</message>
+	<message name="echoStringResponse">
+		<part name="result" element="xsd1:echoStringReturn"/>
+	</message>
+	<message name="echoStringArray">
+		<part name="a" element="xsd1:echoStringArrayParam"/>
+	</message>
+	<message name="echoStringArrayResponse">
+		<part name="result" element="xsd1:echoStringArrayReturn"/>
+	</message>
+	<message name="echoStruct">
+		<part name="a" element="xsd1:echoStructParam"/>
+	</message>
+	<message name="echoStructResponse">
+		<part name="result" element="xsd1:echoStructReturn"/>
+	</message>
+	<portType name="Axis2SampleDocLitPortType">
+		<operation name="echoString">
+			<input name="echoString" message="tns:echoString"/>
+			<output name="echoStringResponse" message="tns:echoStringResponse"/>
+		</operation>
+		<operation name="echoStringArray">
+			<input name="echoStringArray" message="tns:echoStringArray"/>
+			<output name="echoStringArrayResponse" message="tns:echoStringArrayResponse"/>
+		</operation>
+		<operation name="echoStruct">
+			<input name="echoStruct" message="tns:echoStruct"/>
+			<output name="echoStructResponse" message="tns:echoStructResponse"/>
+		</operation>
+	</portType>
+	<binding name="Axis2SampleDocLitPortBinding" type="tns:Axis2SampleDocLitPortType">
+		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+		<operation name="echoString">
+			<soap:operation soapAction="echoString" style="document"/>
+			<input>
+				<soap:body use="literal" namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"/>
+			</input>
+			<output>
+				<soap:body use="literal" namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"/>
+			</output>
+		</operation>
+		<operation name="echoStringArray">
+			<soap:operation soapAction="echoStringArray" style="document"/>
+			<input>
+				<soap:body use="literal" namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"/>
+			</input>
+			<output>
+				<soap:body use="literal" namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"/>
+			</output>
+		</operation>
+		<operation name="echoStruct">
+			<soap:operation soapAction="echoStruct" style="document"/>
+			<input>
+				<soap:body use="literal" namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"/>
+			</input>
+			<output>
+				<soap:body use="literal" namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"/>
+			</output>
+		</operation>
+	</binding>
+	<service name="Axis2SampleDocLitService">
+		<port name="Axis2SampleDocLitPort" binding="tns:Axis2SampleDocLitPortBinding">
+			<soap:address location="http://userguide.axis2.apache.org/stkv3/wsdl/Axis2SampleDocLit.wsdl"/>
+		</port>
+	</service>
 </definitions>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message