The ArrayListExtension object should not be propogated outside of the
deserialization framework.
I will change the code to fix this.

Note that the Axis deserialization has been recently changed to return an
array instead of a List.
Could you update your version of Axis and tell me if this fixes your
problem.

Thanks,

Rich Scheuerle
XML & Web Services Development
512-838-5115  (IBM TL 678-5115)


                                                                                       
                                           
                      Vikram Rayabhari                                                 
                                           
                      <vikram@yasutech.        To:       [EMAIL PROTECTED]      
                                           
                      com>                     cc:                                     
                                           
                                               Subject:  ArrayListExtension is not 
serializable                                   
                      02/12/2002 04:21                                                 
                                           
                      AM                                                               
                                           
                      Please respond to                                                
                                           
                      axis-user                                                        
                                           
                                                                                       
                                           
                                                                                       
                                           



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






Reply via email to