ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: ws-axis/java/docs reference.html
Date Tue, 03 May 2005 14:14:50 GMT
gdaniels    2005/05/03 07:14:50

  Modified:    java     changelog.html
               java/docs reference.html
  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 &lt;item&gt; 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 @@
   &lt;argument&gt; <br>
   use this as the implementation class <br>
  +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -w, --wrapArrays
  +Prefer generating JavaBean classes like &quot;ArrayOfString&quot; for certain schema
array patterns (default is to use String []) <br>
   &nbsp; </p>
   <h4> -h, --help</h4>
   Print the usage statement and exit
  @@ -284,6 +288,19 @@
   by wsdl2java.&nbsp;You should also make sure that all your exported methods throws
  +<h4> -w, --wrapArrays</h4>
  +<p>When processing a schema like this:</p>
  +&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;
  +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.
   <h3><a name="Java2WSDL"></a>Java2WSDL Reference</h3>
   <p>Here is the help message generated from the current tool: </p>

View raw message