axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23731] - Impossible to specify code gen. location for holders of arrays of predefined XSD and SOAPENC types
Date Thu, 16 Oct 2003 14:19:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23731>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23731

Impossible to specify code gen. location for holders of arrays of predefined XSD and SOAPENC
types





------- Additional Comments From Andrei.Iltchenko@nl.compuware.com  2003-10-16 14:19 -------
Davanum,

Shouldn't we also cut and paste the following description on how to make sure 
that holders for arrays of primitives do not end up in the 'java.lang' package 
to Section "WSDL2Java Reference" of "Axis Reference Guide"?

-N, --NStoPkg <argument>=<value>
.....
..... Skipping existing contents
.....
Note: In the case of the "wrapped" style of document/literal web service 
operations, unless a special action is taken, holders for arrays of primitive 
java types introduced exclusively by way of the 'maxOccurs' and 'type' 
attributes on a local element declaration are generated in the 
packages 'holders' and 'java.lang.holders'. If the user doesn't want them 
generated there, they should supply a mapping for the XSD or SOAPENC namespace 
used in the type definition of such an element. This may look like:

java org.apache.axis.wsdl.WSDL2Java -
Nhttp://schemas.xmlsoap.org/soap/encoding/=package_for_holders -
Nhttp://www.w3.org/1999/XMLSchema=xsd_package_for_holders d:\23731.wsdl

or, if the user wants everything generated in a single package 'mypackage':
java org.apache.axis.wsdl.WSDL2Java -pmypackage d:\23731.wsdl.


Regards,
Andrei.

Mime
View raw message