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 "Bug Reporter (JIRA)" <ax...@ws.apache.org> on 2005/06/16 15:08:46 UTC

[jira] Created: (AXIS-2059) WSDL2Java generates artifacts that don't compile.

WSDL2Java generates artifacts that don't compile. 
--------------------------------------------------

         Key: AXIS-2059
         URL: http://issues.apache.org/jira/browse/AXIS-2059
     Project: Apache Axis
        Type: Bug
    Reporter: Bug Reporter
 Attachments: sample.wsdl

I've got a wsdl with more than one schema in the types section. When one schema element cross references a type defined in another schema fragment having the same name then the generated sources don't compile. The problem occurs when all the namespaces are mapped to the same package (-p option). 
I guess elements referencing types with same name is a pretty common case and WSDL2Java should not fail in properly generating the artifacts whatsoever may be the package mapping used.


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


[jira] Assigned: (AXIS-2059) WSDL2Java generates artifacts that don't compile.

Posted by "Jayachandra Sekhara Rao Sunkara (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2059?page=all ]

Jayachandra Sekhara Rao Sunkara reassigned AXIS-2059:
-----------------------------------------------------

    Assign To: Jayachandra Sekhara Rao Sunkara

> WSDL2Java generates artifacts that don't compile.
> -------------------------------------------------
>
>          Key: AXIS-2059
>          URL: http://issues.apache.org/jira/browse/AXIS-2059
>      Project: Apache Axis
>         Type: Bug
>     Reporter: Bug Reporter
>     Assignee: Jayachandra Sekhara Rao Sunkara
>  Attachments: sample.wsdl
>
> I've got a wsdl with more than one schema in the types section. When one schema element cross references a type defined in another schema fragment having the same name then the generated sources don't compile. The problem occurs when all the namespaces are mapped to the same package (-p option). 
> I guess elements referencing types with same name is a pretty common case and WSDL2Java should not fail in properly generating the artifacts whatsoever may be the package mapping used.

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


[jira] Resolved: (AXIS-2059) WSDL2Java generates artifacts that don't compile.

Posted by "Jayachandra Sekhara Rao Sunkara (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2059?page=all ]
     
Jayachandra Sekhara Rao Sunkara resolved AXIS-2059:
---------------------------------------------------

    Resolution: Fixed

Applied a patch. Latest CVS shouldn't show the described problem. Try it

Thanks
Jayachandra

> WSDL2Java generates artifacts that don't compile.
> -------------------------------------------------
>
>          Key: AXIS-2059
>          URL: http://issues.apache.org/jira/browse/AXIS-2059
>      Project: Apache Axis
>         Type: Bug
>     Reporter: Bug Reporter
>     Assignee: Jayachandra Sekhara Rao Sunkara
>  Attachments: sample.wsdl
>
> I've got a wsdl with more than one schema in the types section. When one schema element cross references a type defined in another schema fragment having the same name then the generated sources don't compile. The problem occurs when all the namespaces are mapped to the same package (-p option). 
> I guess elements referencing types with same name is a pretty common case and WSDL2Java should not fail in properly generating the artifacts whatsoever may be the package mapping used.

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


[jira] Updated: (AXIS-2059) WSDL2Java generates artifacts that don't compile.

Posted by "Bug Reporter (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2059?page=all ]

Bug Reporter updated AXIS-2059:
-------------------------------

    Attachment: sample.wsdl

Attached is a wsdl that can help replicate the problem.

Thanks

> WSDL2Java generates artifacts that don't compile.
> -------------------------------------------------
>
>          Key: AXIS-2059
>          URL: http://issues.apache.org/jira/browse/AXIS-2059
>      Project: Apache Axis
>         Type: Bug
>     Reporter: Bug Reporter
>  Attachments: sample.wsdl
>
> I've got a wsdl with more than one schema in the types section. When one schema element cross references a type defined in another schema fragment having the same name then the generated sources don't compile. The problem occurs when all the namespaces are mapped to the same package (-p option). 
> I guess elements referencing types with same name is a pretty common case and WSDL2Java should not fail in properly generating the artifacts whatsoever may be the package mapping used.

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