javax.ws.xml.Holder not serializable

View: New views
3 Messages — Rating Filter:   Alert me  

javax.ws.xml.Holder not serializable

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On the Apache jUDDI project we allow users to use different transport types to connect to the UDDI registry. When using RMI we found out that the Holder class is not serializable.

1. Is there a workaround so we don't have to use this class.
2. Since Holder contains data elements, it seems like a bug to me that it is not Serializable?

Your thoughts on this are highly appreciated.

Thx,

--Kurt
[Message sent by forum member 'kurtstam' (kurtstam)]

http://forums.java.net/jive/thread.jspa?messageID=352722

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: javax.ws.xml.Holder not serializable

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Since you filed the https://jax-ws.dev.java.net/issues/show_bug.cgi?id=776,
let us continue the discussion there.
[Message sent by forum member 'jitu' (jitu)]

http://forums.java.net/jive/thread.jspa?messageID=354284

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: javax.ws.xml.Holder not serializable

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One solution is to convert the Holder class to an serializable Holder (create a class called SerializableHolder) before the RMI call, convert it back to Holder class in RMI service code before you call the web service.
[Message sent by forum member 'yswangw' (yswangw)]

http://forums.java.net/jive/thread.jspa?messageID=355128

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...