Hi, I'm working on a web service project with axis and have some problems with the generated java classes by the axis tools :
I start from a java interface "EmplloyeeAxis" that uses an "Employee" object. This object has a few attributes including a java.util.List attribute "phoneList"
I create the WSDL descriptor with java2wsdl And then I generate the bindings and the deploy.wsdd with wsdl2java
And.... MY PROBLEM is that axis has changed the declaration of my attribute "phonelist" into the type Object[] !!!
So... I'm looking for a solution ... changing the java2wsdl or wsdl2java options perhaps...?
If someone got an idea to fix this, thx a lot !
PS: I also speak french so you could also answer me "en français" if you want :)
Why not just have you clients use Object[]? --> because I already have programs with methods using the attribute as a List and I can't re-program all previous work...
register a beanMapping for it in your wsdd --> could you please give me an example of beanmapping with a list ?