You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Davide Gesino <wi...@libero.it> on 2007/10/01 10:47:26 UTC

wsdl2java generates alla the datatypes?

Hi,

using wsdl2java seems that it doesn't create all the data types included in
the schemas.
seems the generate only the data types used in the concrete message.
If I have a data type that is not used in any message this data type is not
generated.
I have a data type that is used in a <any...> tag, so it is not referenced
explicitly in any message, but
I would need my data type to be generated as well.
-- 
View this message in context: http://www.nabble.com/wsdl2java-generates-alla-the-datatypes--tf4546949.html#a12975315
Sent from the cxf-user mailing list archive at Nabble.com.


Re: wsdl2java generates alla the datatypes?

Posted by Daniel Kulp <dk...@apache.org>.
Any chance you could send the wsdl/xsd files?

This really surprises me.  We pretty much just feed the schema directly 
to JAXB as is and say "generate code".   That stage doesn't really kno 
anything about what is used or not used.

Dan


On Monday 01 October 2007, Davide Gesino wrote:
> using wsdl2java seems that it doesn't create all the data types
> included in the schemas.
> seems the generate only the data types used in the concrete message.
> If I have a data type that is not used in any message this data type
> is not generated.
> I have a data type that is used in a <any...> tag, so it is not
> referenced explicitly in any message, but
> I would need my data type to be generated as well.



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog