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 "Michael Bevilacqua-Linn (JIRA)" <ji...@apache.org> on 2006/11/28 20:31:23 UTC

[jira] Commented: (AXIS2-1781) WSDL2Java: Tries to create databindings twice when a XSD with type definitions is imported into both another XSD and a WSDL

    [ http://issues.apache.org/jira/browse/AXIS2-1781?page=comments#action_12454088 ] 
            
Michael Bevilacqua-Linn commented on AXIS2-1781:
------------------------------------------------

Well, it looks like I can't edit my description, which is incomplete.

WSDL2Java fails when the set of XML files it's trying to compile imports an XSD with data type definitions in multiple places.  In the example I've included, one XSD is imported both into another XSD and a WSDL.  WSDL2Java fails because it tries to create the databindings twice, (in this case XMLBeans).

I've included both sample XML files that can recreate the problem, and the stacktrace I got.  

I was running WSDL2Java as follows:

WSDL2Java -uri accountConcrete.wsdl -ss -sd -d xmlbeans -o test -p foo.bar.test


> WSDL2Java: Tries to create databindings twice when a XSD with type definitions is imported into both another XSD and a WSDL
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1781
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1781
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: Any
>            Reporter: Michael Bevilacqua-Linn
>         Attachments: results.txt, WSDL.zip
>
>
> We've got our type definitions broken out into multiple files.

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