[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to