axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Fell (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-587) WSDL2Java generates duplicate fault classes, can't compile generated stub
Date Wed, 19 Apr 2006 00:35:17 GMT
WSDL2Java generates duplicate fault classes, can't compile generated stub
-------------------------------------------------------------------------

         Key: AXIS2-587
         URL: http://issues.apache.org/jira/browse/AXIS2-587
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

  Components: wsdl  
 Environment: Axis 1.0 RC1, JDK 1.5.06 WinXP
    Reporter: Simon Fell
    Priority: Blocker
 Attachments: enterprise.wsdl

I ran WDSL2Java -s -uri enterprise.wsdl (i'll attach the wsdl)

The generated stub doesn't compile, it contains duplicate inner classes for all the fault
classes that it generated, e.g.

Severity	Description	Resource	In Folder	Location	Creation Time	Id
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3527	April 18, 2006 5:30:58 PM	4
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3540	April 18, 2006 5:30:58 PM	5
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3566	April 18, 2006 5:30:58 PM	7
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3579	April 18, 2006 5:30:58 PM	8
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3592	April 18, 2006 5:30:58 PM	9
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3605	April 18, 2006 5:30:58 PM	10
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3631	April 18, 2006 5:30:58 PM	12
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3644	April 18, 2006 5:30:58 PM	13
2	Duplicate nested type InvalidIdFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3657	April 18, 2006 5:30:58 PM	14
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3670	April 18, 2006 5:30:58 PM	15
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3683	April 18, 2006 5:30:58 PM	16
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3696	April 18, 2006 5:30:58 PM	17
2	Duplicate nested type InvalidIdFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3709	April 18, 2006 5:30:58 PM	18
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3722	April 18, 2006 5:30:58 PM	19
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3735	April 18, 2006 5:30:58 PM	20
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3748	April 18, 2006 5:30:58 PM	21
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3761	April 18, 2006 5:30:58 PM	22
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3774	April 18, 2006 5:30:58 PM	23
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3787	April 18, 2006 5:30:58 PM	24
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3800	April 18, 2006 5:30:58 PM	25
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3813	April 18, 2006 5:30:58 PM	26
2	Duplicate nested type InvalidFieldFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3839	April 18, 2006 5:30:58 PM	28
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3852	April 18, 2006 5:30:58 PM	29
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3865	April 18, 2006 5:30:58 PM	30
2	Duplicate nested type InvalidIdFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3878	April 18, 2006 5:30:58 PM	31
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3891	April 18, 2006 5:30:58 PM	32
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3917	April 18, 2006 5:30:58 PM	34
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3930	April 18, 2006 5:30:58 PM	35
2	Duplicate nested type InvalidFieldFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3943	April 18, 2006 5:30:58 PM	36
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3956	April 18, 2006 5:30:58 PM	37
2	Duplicate nested type InvalidIdFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3969	April 18, 2006 5:30:58 PM	38
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 3995	April 18, 2006 5:30:58 PM	40
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 4008	April 18, 2006 5:30:58 PM	41
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 4021	April 18, 2006 5:30:58 PM	42
2	Duplicate nested type UnexpectedErrorFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 4034	April 18, 2006 5:30:58 PM	43
2	Duplicate nested type InvalidSObjectFaultException	SforceServiceStub.java	axis2Test/src/org/apache/axis2
line 4047	April 18, 2006 5:30:58 PM	44


Given the number of bugs i've logged regarding WSDL2Java from this wsdl, it'd be nice is when
it gets fixed this time, someone actually adds a test for it.

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


Mime
View raw message