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 <argument> password to access the WSDL-URI -c, --implementationClassName <argument> - use this as the implementation class</source> + use this as the implementation class +-w, --wrapArrays + Prefer generating JavaBean classes like "ArrayOfString" 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 <argument></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> +<element name="array"> + <complexType> + <sequence> + <element name="item" type="xs:string"/> + </sequence> + </complexType> +</element> +</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>