You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/01/11 17:57:51 UTC
cvs commit: xml-axis/java/docs user-guide.html
butek 02/01/11 08:57:51
Modified: java/docs user-guide.html
Log:
Since holders aren't generated all the time, the documentation had to change to
reflect that.
Revision Changes Path
1.34 +7 -5 xml-axis/java/docs/user-guide.html
Index: user-guide.html
===================================================================
RCS file: /home/cvs/xml-axis/java/docs/user-guide.html,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- user-guide.html 3 Jan 2002 20:33:42 -0000 1.33
+++ user-guide.html 11 Jan 2002 16:57:51 -0000 1.34
@@ -718,11 +718,13 @@
are included in the generated "deploy.wsdd" file.
<h5>
Holders</h5>
-You'll notice that for each data class that Wsdl2java generates, there
-is a corresponding "Holder" class - for instance a class called "MyDataType"
-would also get a companion class "MyDataTypeHolder". These classes exist
-so that we have a reasonably clean mapping for WSDL's in/out and out parameters
-in Java. See the examples for more details.
+In order to have a reasonably clean mapping for WSDL's in/out and out parameters,
+we have holder classes. The holder classes for the primitive types can be found
+in javax.xml.rpc.holders. When WSDL2Java generates Java types from schema types,
+it may also generate their associated holders. If a method uses a type as an
+in/out or out parameter, then its associated holder will be generated. If a type
+is only used as an in parameter, then no associated holder will be generated.
+See the examples for more details.
<h4>
Wsdl2java details</h4>
Wsdl2java has a number of options, some of which have already been detailed.