You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/10/24 15:23:00 UTC

DO NOT REPLY [Bug 21389] - WSDL2Java complex type array handling broke in v1.1 (worked in v1.0)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21389>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21389

WSDL2Java complex type array handling broke in v1.1 (worked in v1.0)





------- Additional Comments From Shawn.P.Hughes@jpmchase.com  2003-10-24 13:22 -------
I ran into the same problem.  I've thrown this into the debugger and found 
what I believe to be the problem...

The change is in the calss org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.  
Change line 285 from
	xmlType = elemType.getRefType().getQName();
to
	xmlType = elemType.getQName();

When it retrieves the QName of the reference type it no longer refers to the 
array.  It refers to the actual object instance.  This change worked for me 
but I did not comprehensively test it.

Shawn.
Shawn.P.Hughes@jpmchase.com