gdaniels 2005/05/03 07:14:50
Modified: java changelog.html
java/docs reference.html
Log:
Update changelog, add docs for --wrapArrays.
Revision Changes Path
1.14 +1 -0 ws-axis/java/changelog.html
Index: changelog.html
===================================================================
RCS file: /home/cvs/ws-axis/java/changelog.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- changelog.html 3 May 2005 11:03:29 -0000 1.13
+++ changelog.html 3 May 2005 14:14:50 -0000 1.14
@@ -23,6 +23,7 @@
<li> Tons of changes to typemapping system to better support jax-rpc1.1 and .NET
<li> Improved SAAJ 1.2 support
<li> Much better for rpc/lit and doc/lit (especially for arrays)
+ <li>Map schema "wrapped" arrays (with inner <item> elements) into
arrays of the item type, instead of JavaBeans, by default. Introduce the "-w" or "--wrapArrays"
option to WSDL2Java to switch back to the earlier behavior.
<li> Fix some WS-I related bugs. Makes it easier to deploy WS-I BP compatible services.
<li> Internationalized happyaxis jsp pages.
<li> Updated to latest dependency jars. (ex wsdl4j-1.5.1.jar)
1.42 +17 -0 ws-axis/java/docs/reference.html
Index: reference.html
===================================================================
RCS file: /home/cvs/ws-axis/java/docs/reference.html,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- reference.html 24 Dec 2004 05:56:19 -0000 1.41
+++ reference.html 3 May 2005 14:14:50 -0000 1.42
@@ -126,6 +126,10 @@
<argument> <br>
use this as the implementation class <br>
+ -w, --wrapArrays
+<br>
+
+Prefer generating JavaBean classes like "ArrayOfString" for certain schema
array patterns (default is to use String []) <br>
</p>
<h4> -h, --help</h4>
Print the usage statement and exit
@@ -284,6 +288,19 @@
by wsdl2java. You should also make sure that all your exported methods throws
java.lang.RemoteException.
</p>
+<h4> -w, --wrapArrays</h4>
+<p>When processing a schema like this:</p>
+<pre>
+<element name="array">
+ <complexType>
+ <sequence>
+ <element name="item" type="xs:string"/>
+ </sequence>
+ </complexType>
+</element>
+</pre>
+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.
+</p>
<br>
<h3><a name="Java2WSDL"></a>Java2WSDL Reference</h3>
<p>Here is the help message generated from the current tool: </p>
|