users@jax-ws.java.net

Re: testing JAX-WS 2.0 mtom sample

From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
Date: Thu, 15 Jun 2006 10:28:50 -0700

I think XmlAccessorTyp.value is of type XmlAccessType not
AccessType(earlier it used to be AccessType). I think there is some
problem with classpath. Are you using JAX-WS 2.0 FCS ? You may need to
generate the artifacts againg using wsimport/wsgen.

https://jax-ws.dev.java.net/jax-ws-20-fcs/docs/mtom-swaref.html

Jitu

Alberto Labarga wrote:

> Hi,
>
> I wanted to test the mtyom sample included with the JAX-WS 2.0 RI, I
> run the and script, but when deploying in Tomcat (I copied the JAX-WS
> libraries in the shared/lib as indicated) I got this error
>
> SEVERE: WSSERVLET11: failed to parse runtime descriptor:
> java.lang.annotation.AnnotationTypeMismatchException: Incorrectly
> typed data found for annotation element public abstract
> javax.xml.bind.annotation.AccessType
> javax.xml.bind.annotation.XmlAccessorType.value() (Found data of type
> Ljavax/xml/bind/annotation/XmlAccessType;.FIELD)
> java.lang.annotation.AnnotationTypeMismatchException: Incorrectly
> typed data found for annotation element public abstract
> javax.xml.bind.annotation.AccessType
> javax.xml.bind.annotation.XmlAccessorType.value() (Found data of type
> Ljavax/xml/bind/annotation/XmlAccessType;.FIELD)
> at
> sun.reflect.annotation.AnnotationTypeMismatchExceptionProxy.generateException(Unknown
>
> Source)
>
>
> any idea? anywhere else where I can find more information on using
> MTOM with JAX-WS? what I want is to be able to return a data handler
> or input stream directly to the client
>
> Alberto
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>