axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r398545 - /webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html
Date Mon, 01 May 2006 08:07:54 GMT
Author: ajith
Date: Mon May  1 01:07:51 2006
New Revision: 398545

URL: http://svn.apache.org/viewcvs?rev=398545&view=rev
Log:
updating the CodegenToolReference

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=398545&r1=398544&r2=398545&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html (original)
+++ webservices/axis2/trunk/java/xdocs/latest/CodegenToolReference.html Mon May  1 01:07:51
2006
@@ -77,15 +77,8 @@
       <td width="20%">-l &lt;language&gt;</td>
       <td width="20%">--language</td>
       <td width="60%">Output language. Currently the code generator can
-        generate code in Java and CSharp. (CSharp support is experimental)
-        When omitted defaults to Java.
-
-        <p>Allowed options are</p>
-        <ul>
-          <li>java</li>
-          <li>cs</li>
-        </ul>
-      </td>
+        generate code in Java but it has the ability to be extended to
+        support other languages </td>
       <td></td>
     </tr>
     <tr>
@@ -173,6 +166,15 @@
         service) will be picked</td>
       <td></td>
     </tr>
+    <tr>
+      <td width="20%">-ns2p</td>
+      <td width="20%">--namespace2package</td>
+      <td width="60%">Specifies a comma seperated list of namespaces and
+        packages where the given package will be used in the place of the
+        auto generated package for the relevant namespace. The list will be
+        the format of ns1=pkg1,ns2=pkg2.</td>
+      <td></td>
+    </tr>
   </tbody>
 </table>
 
@@ -209,17 +211,7 @@
     <tr>
       <td>language</td>
       <td>Output language. Currently the code generator can generate code in
-        Java and CSharp. (CSharp support is limited) When omitted defaults to
-        Java.
-
-        <p>Allowed options are</p>
-        <ul>
-          <li>java</li>
-          <li>cs</li>
-        </ul>
-
-        <p>Maps to the -l option of the command line tool</p>
-      </td>
+        Java. Maps to the -l option of the command line tool</td>
     </tr>
     <tr>
       <td>packagename</td>
@@ -265,11 +257,15 @@
     </tr>
     <tr>
       <td>serviceName</td>
-      <td>The name of the service</td>
+      <td>The name of the service in the case of multiple services</td>
     </tr>
     <tr>
-      <td>PortName</td>
-      <td>The name of the port</td>
+      <td>portName</td>
+      <td>The name of the port in the presence of multiple ports</td>
+    </tr>
+    <tr>
+      <td>namespaceToPackages</td>
+      <td>A list of namespace to package mappings</td>
     </tr>
   </tbody>
 </table>
@@ -309,8 +305,8 @@
 path.</p>
 <ul>
   <li>axis-*.jar (from the Axis2 distribution)</li>
-  <li>axis-wsdl4j-1.2.jar (The WSDL4J implementation jar. Bundled with the
-    Axis2 distribution)</li>
+  <li>axis-wsdl4j-1.2.jar or higher (The WSDL4J implementation jar. Bundled
+    with the Axis2 distribution)</li>
   <li>stax-api-1.0.jar (The StAX API's that contain the
     javax.xml.namespace.QName class. This jar may be replaced by any other
     jar that contains the javax.xml.namespace.QName implementation. However
@@ -436,9 +432,9 @@
   &lt;/target&gt;
 
   &lt;target name="jar_wsdl" depends="compile"&gt;
-	  &lt;jar jarfile="lib/axis2_example_wsdl.jar" &gt;
+          &lt;jar jarfile="lib/axis2_example_wsdl.jar" &gt;
               &lt;fileset dir="${build.classes}" /&gt;
-	  &lt;/jar&gt;
+          &lt;/jar&gt;
   &lt;/target&gt;
   
   &lt;!-- build an .aar file for axis2 web services --&gt;
@@ -567,21 +563,19 @@
 <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
 above, and there will be a directory called 'output' created. This directory
-contains the WSDL2Java generated source. 
-
-An important detail is that an XMLBean class file is also generated by WSDL2Java, 
-TypeSystemHolder.class. That file is placed into build/classes by the above ant task and
will be
-needed to compile the generated sources. A frequent problem is users get an error such as:
</p>
-
-<p>ClassNotFoundException :
-
-Cannot load SchemaTypeSystem. Unable to load class with name
-schemaorg_apache_xmlbeans.system.s68C41DB812F52C975439BA10FE4FEE54.TypeSystemHolder. 
-Make sure the generated binary files are on the classpath.
-</p>
+contains the WSDL2Java generated source. An important detail is that an
+XMLBean class file is also generated by WSDL2Java, TypeSystemHolder.class.
+That file is placed into build/classes by the above ant task and will be
+needed to compile the generated sources. A frequent problem is users get an
+error such as:</p>
+
+<p>ClassNotFoundException : Cannot load SchemaTypeSystem. Unable to load
+class with name
+schemaorg_apache_xmlbeans.system.s68C41DB812F52C975439BA10FE4FEE54.TypeSystemHolder.
+Make sure the generated binary files are on the classpath.</p>
 
-<p>The TypeSystemHolder.class generated by WSDL2Java must be placed in your 
-classpath in order to avoid this error. </p>
+<p>The TypeSystemHolder.class generated by WSDL2Java must be placed in your
+classpath in order to avoid this error.</p>
 
 <p>The next step is to modify the generated Skeleton Java Source file - the
 Web service. This file as generated returns null and needs to be updated to
@@ -604,7 +598,7 @@
      */
     public class LoginServiceSkeleton {
      
-		 
+                 
         /**
          * Auto generated method signature
          



Mime
View raw message