axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r379332 - /webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html
Date Tue, 21 Feb 2006 04:27:37 GMT
Author: chinthaka
Date: Mon Feb 20 20:27:37 2006
New Revision: 379332

URL: http://svn.apache.org/viewcvs?rev=379332&view=rev
Log:
made layout corrections on code

Modified:
    webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html

Modified: webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html?rev=379332&r1=379331&r2=379332&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html (original)
+++ webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html Mon Feb 20 20:27:37
2006
@@ -330,11 +330,11 @@
     <echo message="Available Targets:" />
     <echo message=" " />
     <echo message=" Compiling:" />
-    <echo message="  compile           - Compiles the WSDL2Java source code" />
+    <echo message="  compile         - Compiles the WSDL2Java source code" />
 
     <echo message=" " />
     <echo message=" Compiling client:" />
-    <echo message="  compile_client           - Compiles the client source code" />
+    <echo message="  compile_client   - Compiles the client source code" />
     <echo message=" " />
     <echo message=" Cleaning up:" />
     <echo message="  clean             - Delete class files" />
@@ -344,7 +344,7 @@
     <echo message="  wsdl2java               - Generate source from WSDL" />
     <echo message=" " />
     <echo message=" AAR:" />
-    <echo message="  aar               - Generate an .aar for deployment into WEB-INF/services"
/>
+    <echo message="  aar   - Generate an .aar for deployment into WEB-INF/services"
/>
 
     <echo message=" " />
     <echo message=" Executing:" />
@@ -469,10 +469,16 @@
 LoginEndpoint.wsdl</p>
 <pre class="code">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 
-&lt;definitions name="LoginService" targetNamespace="http://login" xmlns:tns="http://login"
xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:ns2="http://login/types"&gt;
+&lt;definitions name="LoginService" targetNamespace="http://login" xmlns:tns="http://login"

+xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns2="http://login/types"&gt;
 
   &lt;types&gt;
-    &lt;schema targetNamespace="http://login/types" xmlns:tns="http://login/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://www.w3.org/2001/XMLSchema"&gt;
+    &lt;schema targetNamespace="http://login/types" xmlns:tns="http://login/types" 
+    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" 
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns="http://www.w3.org/2001/XMLSchema"&gt;
       &lt;import namespace="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
       &lt;element name="returnWebLoginElement"&gt;
         &lt;complexType&gt;
@@ -529,7 +535,8 @@
 
   &lt;service name="LoginService"&gt;
     &lt;port name="LoginEndpointPort" binding="tns:LoginEndpointBinding"&gt;
-      &lt;soap:address location="http://localhost:8080/axis2/services/LoginEndpoint"/&gt;&lt;/port&gt;&lt;/service&gt;&lt;/definitions&gt;</pre>
+      &lt;soap:address location="http://localhost:8080/axis2/services/LoginEndpoint"/&gt;&lt;/port&gt;
+      &lt;/service&gt;&lt;/definitions&gt;</pre>
 
 <p>Place the above file, named LoginEndpoint.wsdl, in the directory 'wsdl'
 below the build.xml file. Run the WSDL2Java command via the ant task defined
@@ -562,7 +569,7 @@
          
          */
         public  org.example.types.databinding.login.ReturnWebLoginElementDocument webLogin
-                  (org.example.types.databinding.login.WebLoginElementDocument param0 ){
+           (org.example.types.databinding.login.WebLoginElementDocument param0 ){
                 //Todo fill this with the necessary business logic
                 return null;
         }
@@ -587,7 +594,7 @@
      
      */
     public  org.example.types.databinding.login.ReturnWebLoginElementDocument webLogin
-              (org.example.types.databinding.login.WebLoginElementDocument webLoginElementDocument
){
+       (org.example.types.databinding.login.WebLoginElementDocument webLoginElementDocument
){
 
             //Todo fill this with the necessary business logic
             System.out.println("LoginEndpointSkeleton.webLogin reached successfully!");
@@ -607,7 +614,8 @@
             
             org.example.types.databinding.login.ReturnWebLoginElementDocument.ReturnWebLoginElement
             retElement =
-             org.example.types.databinding.login.ReturnWebLoginElementDocument.ReturnWebLoginElement.Factory.newInstance();
+             org.example.types.databinding.login.ReturnWebLoginElementDocument.ReturnWebLoginElement.
+             Factory.newInstance();
             
             retElement.setWebUserNameElement("joe sixpack");
             retElement.setSoapSessionIdElement("some_random_string");



Mime
View raw message