You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Vikram Rayabhari <vi...@yasutech.com> on 2002/02/12 11:21:27 UTC

ArrayListExtension is not serializable

Hi,

I have a wrapper service that has a session bean. The service class
declares a method

public java.util.List myMethod(java.util.List myList) {
    return mySessionBean.myMethod(myList);
}

Calling this method resulted in a java.io.NotSerializableException.. The
bean was deployed on WebSphere4.0. When I modified myMethod to look like

public java.util.List myMethod(java.util.List myList) {
    List tmpList = new ArrayList();
    tmpList.addAll(myList);
    return mySessionBean.myMethod(tmpList);
}

it worked fine.

The ArrayListExtension object that ArrayDeserializer returns is not
serializable... Could someone please fix this??

thanks
Vikram