문제

I'm trying to pass Vector of complex objects as a result of a WS method. I'm following a JavaBeans scheme and all Collections are replaced by Vectors already, but I'm still getting a serialization exception WSWS3037E: Serialization cannot occur for [myclass] How can I test if serialization really fails or this is WAS issue?

도움이 되었습니까?

해결책

For 6.1 it is recommended by IBM to use arrays instead of Vectors. Vectors are supported but their use is not recommended. Also, all of your classes in the Vector/array must implement Serializable.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top