Hi, Thanks for the reply. I updated to the latest version and it resulted in more problems!!
When the client passes a java.util.List with only Employee objects, the AxisServlet is trying to invoke myMethod(java.util.List) declared in the service class, with an Employee[] as parameter and promptly a java.lang.IllegalArgumentException is thrown. It results in java.io.NotSerializableException when the List passed contains objects of different classes ie ArrayDeserializer returns an ArrayListExtension object that is still not serializable. Vikram R J Scheuerle Jr wrote: > 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