Hello François,

I'd like to try to reproduce your problem. Could you post a (small) WSDL file, client and impl file to do this?
I'm wondering where the problem is.. WSDD, SOAP message..

Regards,
Dies


françois françois wrote:
Hi everybody
i have tried to migrate from axis 1.2.1 to axis 1.3
it seems that the ArraySerializer has changed between this 2 versions
and it caused some problems with inheritance:
If you ve got for example: an abstract class animal and a class dog who extends 
animal
and an Array of animal
so in this way :
  public abstract class Animal{
private String nom;
  ......
  }
  public class Dog extends Animal{
  private String color;
........
  }
  your webservice expose this method below for example:
  public Animal [] getListOfAnimals(){
  Animal [] array_Animals=new Animals[1];
Dog doggy= new doggy("pluto","black");
array_Animals[0]=doggy;
return array_Animals;
}
  In axis 1.3 when you call getListOfAnimals(), you lost the informations of 
Dog so you receive to your client
only an array which contains Animal type Object  but not Dog objects and the 
client failed : instantiation exception....
In axis 1.2.1 you still have the information that the function getListOfAnimals() return an array of Animal which contains Dog objects.
  It happens only with array, i have tried to do other examples in many ways i 
have got the same problems...
  I use document wrapped/literal.
Has someone got the same problems ?any explanations? is it a bugs?
  Thank you.


                
---------------------------------
 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.Téléchargez la version 
beta.

--
Dies KOPER <[EMAIL PROTECTED]> (changed on 1 July 2005)
Fujitsu Ltd - MWPF1  (changed from MWPF3 on 21 Nov 2005)
2-15-16, Shin-Yokohama, Kouhoku-ku, Yokohama, 222-0033, Japan
Tel. +81(45)-475-5605  (internal 7181-4217)

Reply via email to