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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2006/11/03 10:26:18 UTC

[jira] Updated: (AXIS2-1591) WSDL2Java Appends the generated type classes

     [ http://issues.apache.org/jira/browse/AXIS2-1591?page=all ]

Amila Chinthaka Suriarachchi updated AXIS2-1591:
------------------------------------------------

    Attachment: JavaBeanWriter.java-patch-031106.txt

In adb-codegen only one instance of JavaBeanWritter Instance is kept. So we have to alwsay initalize the internal hashMaps at the initialization (i.e. at the init method)

> WSDL2Java Appends the generated type classes
> --------------------------------------------
>
>                 Key: AXIS2-1591
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1591
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: All OSs, JDK 14/15
>            Reporter: Afkham Azeez
>         Assigned To: Ajith Harshana Ranabahu
>            Priority: Critical
>             Fix For: 1.1
>
>         Attachments: JavaBeanWriter.java-patch-031106.txt
>
>
> When you process two or more WSDLs using a single WSDL2Java process, the type classes generated for earlier WSDLs get appended to those of the latter WSDLs. Most probably, this is because of using some static, cached or singleton structure within this tool.
> Say I process a.wsdl, b.wsdl & c.wsdl serially using the same WSDL2Java process. The types generated for b.wsdl will include those generated for a.wsdl, and the types geenrated for c.wsdl will contian those of a.wsdl & b.wsdl.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org