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 "Dawid Loubser (JIRA)" <ji...@apache.org> on 2005/09/02 15:29:31 UTC

[jira] Updated: (AXIS2-199) Non-compilable data binding code generated - duplicate 'toOM(...)' method

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

Dawid Loubser updated AXIS2-199:
--------------------------------

    Attachment: axis2Test.wsdl

I am unable to attach my original mentioned WSDL, but attached is a (silly) schema specifically written to illustrate the problem. Runnign WSDL2Java on this generates duplicate methods in the data binding supporter.

> Non-compilable data binding code generated - duplicate 'toOM(...)' method
> -------------------------------------------------------------------------
>
>          Key: AXIS2-199
>          URL: http://issues.apache.org/jira/browse/AXIS2-199
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: Tools
>     Versions: 0.91
>  Environment: Mac OS X, Java SDK 5.0 Update 1
>     Reporter: Dawid Loubser
>     Priority: Critical
>  Attachments: axis2Test.wsdl
>
> When WSDL2Java is run on a pretty complex (but valid) WSDL with an external schema, all types are created (seemingly correctly) but the Data Binding supporters (in package myPackage.databinding) are all incorrect, as they all contain two exact copies of the same "public  static org.apache.axis2.om.OMElement  toOM(...)" method. I have not tested on a very simple case, but it certainly fails for a schema which worked correctly in Axis 1.x

-- 
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