Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
XML and Related Technologies
complexType vs anonymous complexType
posted 3 years ago
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?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
Unable to fully map ['http://url']:xxxInput using javax.xml.soap.SOAPElement
XSD Compliance with WebService and JAXB
When to use complex types and when to use elements in creating wsdl files?
how can i create java classes from given wsdl
root element to wrap all the complexType elements