Skip to main content

Mustang Web Service JAX-WS broken???

No replies
tdanecito
Offline
Joined: 2005-10-10

Hi All,

Since b80 of Mustang it looks as if support for arrays of Strings has been broken. I beleive this to be true because I get the following error (notice the "L" in the message regarding type which I believe is because I use an array of Strings):

01:37:31,781 ERROR [STDERR] Aug 13, 2006 1:37:31 AM com.sun.xml.ws.transport.htt
p.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.annotation.An
notationTypeMismatchException: Incorrectly typed data found for annotation eleme
nt public abstract javax.xml.bind.annotation.XmlAccessType javax.xml.bind.annota
tion.XmlAccessorType.value() (Found data of type Ljavax/xml/bind/annotation/Acce
ssType;.FIELD)
java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed data fou
nd for annotation element public abstract javax.xml.bind.annotation.XmlAccessTyp
e javax.xml.bind.annotation.XmlAccessorType.value() (Found data of type Ljavax/x
ml/bind/annotation/AccessType;.FIELD)
at sun.reflect.annotation.AnnotationTypeMismatchExceptionProxy.generateE
xception(AnnotationTypeMismatchExceptionProxy.java:38)
at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationI
nvocationHandler.java:56)

I did log this and got a message from the development team about looking into it but that was many weeks ago and I tried b85 and still the problem persists.

Anyone using arrays of Strings in thier objects returned from a web service call??

Thanks,
-Tony