A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
XML and Related Technologies
complexType vs anonymous complexType
Joined: Jan 24, 2011
Oct 28, 2013 23:49:44
I am using complexType in my XSD which doesnot generate the @XmlRootElement and will generate an ObjectFactory using JAXB XJC. Where the advantages i feel with complexType are :-
1) If an element is referenced in multiple XSD documents use it.
2) Better reusability
3) Supports multiple root level elements declarataion.
Please let me know what are the adv of using complexType in place of anonymous complexTypes?
subject: complexType vs anonymous complexType
When to use complex types and when to use elements in creating wsdl files?
XSD Compliance with WebService and JAXB
root element to wrap all the complexType elements
Unable to fully map ['http://url']:xxxInput using javax.xml.soap.SOAPElement
how can i create java classes from given wsdl
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014