In JAXB, you can specify that your bindings are either written in your XSD, in another namespace, or placed in an external binding file. I would certainly opt for the later. However, the current JAXB requires that you specify your global bindings in your XSD if you want to use the extensions that will make your classes implement java.io.Serializable. Our data architects are not too thrilled with implementation specific namespaces being placed in their XML schemas.
Steve Maring
"Mark D. Hansen"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
m> cc:
07/24/2003 09:27 Subject: RE: WSDL2Java with JAXB ??
AM
Please respond to
axis-user
Thank you Steve - this is very helpful. One follow-on question. What do
you mean by "muddy up your XSD"?
> you will have to muddy up your XSD to get your classes to implement
> serializable, and ...
_________________________________________________________________
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the
intended recipient is prohibited. If you received this in error,
please contact the sender and delete the material from any
computer.
