[jira] [Commented] (AXIS2-5903) WSDL2Java bug when same named element under different name space

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (AXIS2-5903) WSDL2Java bug when same named element under different name space

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/AXIS2-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292534#comment-16292534 ]

robert lazarski commented on AXIS2-5903:
----------------------------------------

When attaching files like error.txt , please use the latest 1.7.7 version of axis2 to run wsdl2java.

When using 1.7.7 I see lots of errors like these:

[WARN] No schemaLocation for import of http://schemas.ipc.adm.br/efrete/pef/objects; compilation may fail
[WARN] No schemaLocation for import of http://schemas.ipc.adm.br/efrete/objects; compilation may fail

Also note I see several Jira issues created that are very similar to this one, that seemed to be fixed on the user side. See , AXIS2-5595 and AXIS2-5606.

> WSDL2Java bug when same named element under different name space
> ----------------------------------------------------------------
>
>                 Key: AXIS2-5903
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5903
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.7.7
>         Environment: Windows 7 64-bits.
>            Reporter: Bruno Ramos
>         Attachments: PefService.wsdl, error.txt
>
>
> Hi,
> I am using WSDL2Java to generate my java classes but I am having a problem with a WSDL that contains the same named element under different namespaces. When I try I get the error "The referenced element ... was not found".
> I use wsdt2java as: wsdt2java.bat -o c:/teste -uri c:/teste/PefService.wsdl -suppress-prefixes
> The same error appears in the 3 versions I try: 1.5.2, 1.6.2 and 1.7.7.
> The exactly error I get from this wsdl is: "The referenced element '{http://schemas.ipc.adm.br/efrete/pef/AdicionarViagem}Viagens' was not found!". The complete error is attached.
> The WSDL to replicate the error is attached, and also can be obtained here: https://dev.efrete.com/Services/PefService.asmx?wsdl
> Any help is appreciated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]