Martin,

I guess the business reason in this case is simply that "Class" is a
business concept...

Andreas

On Wed, Aug 12, 2009 at 17:50, Martin Gainty<[email protected]> wrote:
> a valid business reason to use a java reserved word from this list of java
> reserved words
> http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html
> ?
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>> Date: Wed, 12 Aug 2009 16:44:10 +0200
>> From: [email protected]
>> Subject: WSDL2code : Compilation Failure
>> To: [email protected]
>>
>> Hi folks,
>> I am generating from a wsdl Client Server Java code, by using the
>> axis2-wsdl2code-maven-plugin.The wsdl file contains the following element:
>> <xs:complexType name="ErrorReportType"><xs:sequence>...<xs:element
>> name="Class" form="unqualified" type="xs:string"/> ...
>> </xs:sequence></xs:complexType>
>>
>> While compilation phase a class named “ErrorReporType” containing a field
>> named Class, and the getter and setter methods are tried to be generated,
>> without success. The compilation of the stub failures with the message
>> ...myPackage.MyStub.ErrorReportType cannot override getClass()
>>
>> The problem is the wsdl element "Class" as shown above and the final
>> declared method getClass()on java side. Is there any chance to solve this
>> problem?
>>
>>
>> I would appreciate any help...
>>
>> Thanks
>> Ike
>
> ________________________________
> Get your vacation photos on your phone! Click here.

Reply via email to