I have created a jaxws client applet that needs a binding file in order to avoid duplicate class names in the wsdl. When wsimport is run using the binding file, the generated client classes are placed in different packages. The client then works great when debugging through eclipse.
However, when the applet is run from a web page served through tomcat, the client fails due to IllegalAnnotationsException that two classes have the same XML type name. Why is the client failing when executing from a jar, but not from eclipse? Is my only option to modify the wsdl and access a locally stored version of the wsdl at runtime?
I am using jdk1.6.0_20 and the generated client target is jaxws 2.1.
Thanks.