I'm having a few issues with generated classes using java2wsdl and
wsdl2java ant tasks.  I'm not sure if these issues belong to wsdl4j or
axis, nor am I sure if these are user errors, but hopefully someone
will be able to provide some insight.

Problem #1

Duplicating steps:
1) Create a service with a single function that takes a bean as a parameter.
2) write the bean to contain a single private property with the datatype long []
3) create the getters and setters for the bean
4) compile the project and package it as a jar file
5) run java2wsdl referencing the jar file and the service
6) at this point you should have a correct, good looking wsdl.
7) Run wsdl2java to have axis create the new bean (this overwrites
your handwritten bean)
8) compile the project and package it as a jar file
9) run java2wsdl referencing the jar file and the service
10) at this point, the wsdl will now have a bad definition of the bean.
11) Running wsdl2java will generate a bean with a private Long value
instead of a long [].

I'm probably leaving out a lot of details, so please let me know where
I can fill in the blanks.

Problem #2

beans that implement interfaces will not have their interfaces carried
over to the wsdl-generated beans.

Am I missing a setting?

Problem #3

Long []'s are converted to long []'s

Thanks in advance for your help,

-M

Reply via email to