You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/01/09 13:40:15 UTC

svn commit: r1229115 - /axis/axis1/java/trunk/src/site/xdoc/reference.xml

Author: veithen
Date: Mon Jan  9 12:40:15 2012
New Revision: 1229115

URL: http://svn.apache.org/viewvc?rev=1229115&view=rev
Log:
Reintegrated r261256 into the XDocs.

Modified:
    axis/axis1/java/trunk/src/site/xdoc/reference.xml

Modified: axis/axis1/java/trunk/src/site/xdoc/reference.xml
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/src/site/xdoc/reference.xml?rev=1229115&r1=1229114&r2=1229115&view=diff
==============================================================================
--- axis/axis1/java/trunk/src/site/xdoc/reference.xml (original)
+++ axis/axis1/java/trunk/src/site/xdoc/reference.xml Mon Jan  9 12:40:15 2012
@@ -92,7 +92,10 @@ Options:</p>
 -P, --password &lt;argument&gt;
   password to access the WSDL-URI
 -c, --implementationClassName &lt;argument&gt; 
-  use this as the implementation class</source>
+  use this as the implementation class
+-w, --wrapArrays
+  Prefer generating JavaBean classes like &quot;ArrayOfString&quot; for certain schema array patterns (default is to use String [])
+</source>
 
 <dl>
 
@@ -198,6 +201,19 @@ Note that the anchor is searched for in 
 <dt> -c, --implementationClassName &lt;argument&gt;</dt>
 <dd>Set the name of the implementation class.Especially useful when exporting an existing class as a web service using java2wsdl followed by wsdl2java. If you are using the skeleton deploy option you must make sure, after generation, that your implementation class implements the port type name interface generated by wsdl2java. You should also make sure that all your exported methods throws java.lang.RemoteException.</dd> 
 
+<dt>-w, --wrapArrays</dt>
+<dd>When processing a schema like this:
+<source>
+&lt;element name="array"&gt;
+ &lt;complexType&gt;
+  &lt;sequence&gt;
+   &lt;element name="item" type="xs:string"/&gt;
+  &lt;/sequence&gt;
+ &lt;/complexType&gt;
+&lt;/element&gt;
+</source>
+The default behavior (as of Axis 1.2 final) is to map this XML construct to a Java String array (String[]).  If you would rather a specific JavaBean class (i.e. ArrayOfString) be generated for these types of schemas, you may specify the -w or --wrapArrays option.</dd>
+
 </dl>
 
 </subsection>