I noticed envelope.xsd defines the "Envelope" element by itself.
Your EnvelopeElement interface is apparently generated from this
definition as its package name and its javadoc suggests.
And if you look at the javadoc of the Message type you defined,
> /**
> *
> * @return
> * possible object is
> * {_at_link com.mytest.schema.soap.Envelope}
> */
> com.mytest.schema.soap.Envelope getEnvelope();
It says you should use Envelope. I know this is bit confusing, but as
long as you use Envelope and not EnvelopeElement, things should fine.
You can delete the element declaration of "Envelope" from the SOAP schema
to avoid this confusion.
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net