Skip to main content

Abstract SuperType without @XmlSeeAlso

2 replies [Last post]
clemenso
Offline
Joined: 2006-10-02
Points: 0

Hi,

I'm using jax-ws from an applet, so I am forced to use jax-ws 2.0 (no way to check for jre > 1.6.0_03). There is no @XmlSeeAlso annotation in jax-ws 2.0, but still, I would like to use type substitution.
In jax-ws 2.0 there is no way to access the JAXBContext (http://forums.java.net/jive/thread.jspa?threadID=24091); is there another way to make JAXB aware of my additional types? These types are known at compile time and I could place them in any package I want to.

Thanks,
Clemens

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Clive Brettingham-Moore

If the service is fairly simple you could use Dispatch with a suitable
JAXBContext.
RPC could get involved but doc-lit should be easy.
If really energetic, could even use your own code to implement the
endpoint interface this way.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

vinodsingh
Offline
Joined: 2004-04-16
Points: 0

You can use endorsed directory mechanism to use latest version of JAX-WS with latest update of Java 6.

Thanks,
Vinod
http://blog.vinodsingh.com/2008/09/anytype-object-over-webservice-and.html