You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by th...@apache.org on 2006/11/16 09:44:58 UTC

svn commit: r475641 - in /webservices/axis2/site/1_1: userguide.html wsdl/ wsdl/Axis2SampleDocLit.wsdl

Author: thilina
Date: Thu Nov 16 00:44:57 2006
New Revision: 475641

URL: http://svn.apache.org/viewvc?view=rev&rev=475641
Log:
adding the missing wsdl document to the site...

Added:
    webservices/axis2/site/1_1/wsdl/
    webservices/axis2/site/1_1/wsdl/Axis2SampleDocLit.wsdl
Modified:
    webservices/axis2/site/1_1/userguide.html

Modified: webservices/axis2/site/1_1/userguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/1_1/userguide.html?view=diff&rev=475641&r1=475640&r2=475641
==============================================================================
--- webservices/axis2/site/1_1/userguide.html (original)
+++ webservices/axis2/site/1_1/userguide.html Thu Nov 16 00:44:57 2006
@@ -75,7 +75,8 @@
 The tool's parameter list can be found from <a href="reference.html#wsdl2code">Axis2 Reference Document</a>.</p><p>The parameters for wsdl2java tool in our example are as follows. Please
 note that we use xmlbeans as the data binding framework and generated code
 will be sent to samples directory. Other data binding tools you could use are
-adb (Axis data binding) and jaxme (<a href="http://ws.apache.org/jaxme/" class="externalLink" title="External Link">JaxMe data binding</a>)</p>
+adb (Axis data binding), JibX and jaxme (experimental) (<a href="http://ws.apache.org/jaxme/" class="externalLink" title="External Link">JaxMe data 
+binding</a>). You can get the Axis2SampleDocLit.wsdl from <a href="wsdl/Axis2SampleDocLit.wsdl">here</a>. </p>
     <div class="source"><pre>
 WSDL2Java.sh -uri ../samples/wsdl/Axis2SampleDocLit.wsdl -ss -sd -d xmlbeans 
 -o ../samples -p org.apache.axis2.userguide
@@ -91,7 +92,7 @@
 generated classes in the
 <strong>"samples/src/org/apache/axis2/userguide</strong> directory. Let's
 fill the <code>echoString(..)</code> method in the skeleton as shown below. Our sample
-WSDL-Axis2SampleDocLit.wsdl in <strong>"samples/wsdl"</strong> directory has
+WSDL- <a href="wsdl/Axis2SampleDocLit.wsdl">Axis2SampleDocLit.wsdl</a> in  has
 three operations: echoString, echoStringArray, echoStruct. To see how others
 will look when they are filled up see <a href="src/Axis2SampleDocLitServiceCode.html">Code Listing For
 Axis2SampleDocLitService Service</a></p>
@@ -350,4 +351,4 @@
     APIs</a></li>
   <li><a href="app_server.html">Application Server Specific Configuration
     Guide</a></li>
-</ol></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2004-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
+</ol></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2004-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>

Added: webservices/axis2/site/1_1/wsdl/Axis2SampleDocLit.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/site/1_1/wsdl/Axis2SampleDocLit.wsdl?view=auto&rev=475641
==============================================================================
--- webservices/axis2/site/1_1/wsdl/Axis2SampleDocLit.wsdl (added)
+++ webservices/axis2/site/1_1/wsdl/Axis2SampleDocLit.wsdl Thu Nov 16 00:44:57 2006
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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