Skip to content

Tag: jbossws

IllegalAnnotationException: Two classes have the same XML type name

I am developing web service under JBoss 5 and Java 1.6. What could possibly cause this exception? Below is my simplified web service code. And below is the full stack trace. Answer I found the cause of my problem. This problem occurs because JAX-WS generates a class for each method and the class name is constructed by concatenating methodName +