jaxb - Use interfaces in JAX-WS web methods -


i need use interface parameter , return type in jax-ws web method. when starting server receive illegalannotationsexception, tells me jaxb cannot handle interfaces.

i tried annotate class, method result , method parameters @xmlrootelement , @xmlelement(type = ...) respectively, not work.

how can use interface parameter , result type in jax-ws web method?

take @ @xmljavatypeadapter. maybe trick. more information available in here.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -