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 Alberto Donato <do...@elet.polimi.it> on 2003/09/24 10:04:03 UTC
Error in WSDL2Java generated code
Hi,
I found an error in code generated from WSDL2Java in
Axis 1.1.
It seems to be a problem with anonymous types class, as
the ">" token used to separate is not always replaced with
an "_" in deploy.wsdd and in the class java file.
The problem is that on token substitution, the type QName
is not modified in
org/apache/axis/wsdl/toJava/JavaGeneratorFactory.java
The attached patch seems to fix it.
Alberto Donato
Re: Error in WSDL2Java generated code
Posted by Davanum Srinivas <di...@yahoo.com>.
Alberto,
Do you have a test case as well? (Here are some guidelines for a PATCH submission -
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/SubmitPatches)
Thanks,
dims
--- Alberto Donato <do...@elet.polimi.it> wrote:
> Hi,
> I found an error in code generated from WSDL2Java in
> Axis 1.1.
> It seems to be a problem with anonymous types class, as
> the ">" token used to separate is not always replaced with
> an "_" in deploy.wsdd and in the class java file.
> The problem is that on token substitution, the type QName
> is not modified in
> org/apache/axis/wsdl/toJava/JavaGeneratorFactory.java
> The attached patch seems to fix it.
>
>
> Alberto Donato
>
>
> ATTACHMENT part 2 application/octet-stream
=====
Davanum Srinivas - http://webservices.apache.org/~dims/