MOXy JAXB implementation not working for JAX-WS web services on Glassfish 4.0? -



MOXy JAXB implementation not working for JAX-WS web services on Glassfish 4.0? -

i've been able specify eclipselink moxy jaxb provider per blaise doughan's instructions here:

http://blog.bdoughan.com/2011/05/specifying-eclipselink-moxy-as-your.html

i'm trying publish web service, incorporates subclasses include @xmlvalue annotation. (the jaxb reference implementation wont allow this, moxy will). anyway, got usual jaxb error message again:

com.sun.xml.bind.v2.runtime.illegalannotationsexception: ... @xmlvalue not allowed on class derives class.

...which means web service trying utilize reference implementation again, instead of moxy.

i found blaise's blog post how moxy can leveraged create jax-ws service in glassfish 3.1.2:

http://blog.bdoughan.com/2012/02/glassfish-312-is-full-of-moxy.html

however, doesn't work in glassfish 4.0. exception:

wsservlet11: failed parse runtime descriptor: com.sun.xml.ws.spi.db.databindingexception: unknown databinding mode: eclipselink.jaxb

indeed, blaise himself has logged bug study issue here:

https://java.net/jira/browse/jax_ws-1130

this seems unresolved still, i'm @ dead end. question this: is there way of getting moxy work jax-ws web service using glassfish 4.0 (or later)?

web-services jaxb jax-ws glassfish-4 moxy

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -