I read the tutorial about how to resolve class/interface conflict. But when
I run my build.xml with my binding file, I still hve the following error.
Could someone please help me how to write my binding file?
[xjc] [ERROR] A class/interface with the same name "primer.Envelope"
is already in use.
[xjc] line 40 of
[xjc] [ERROR] (Relevant to above error) another one is generated from
here.
[xjc] line 41 of
I have this in my bindings file:
<!-- Resolve collision between XML name. -->
<jxb:bindings node="//xs:complexType[@name='Envelope']">
<!-- Customize Element interface name -->
<jxb:class name="MyEnvelope"/>
<!-- Definition level customization:
All references to this global element will be by this
customized property name. -->
<jxb:property name="MyEnvelope"/>
</jxb:bindings>
But when I run build.xml file, I got this error:
[xjc] Compiling
file:/C:/eclipseWorkspace3/workspace/axis/src/ondemand-validate/mm7.xsd
[xjc] [ERROR] XPath evaluation of "//xs:complexType[@name='Envelope']"
results in empty target node
[xjc] line 25 of binding.xjb
Can someone please help me with this.
Thank you.
_________________________________________________________________
Choose now from 4 levels of MSN Hotmail Extra Storage - no more account
overload!
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net