This is strange i don't get warnings.
I only use ADB not XMLBeans.

QName is the Qualifiedname , so the full name of the NameSpace including 
operation or schema,

In which class do you encounter this warnings? 

dirk

-----Original Message-----
From: Weck, Andreas [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 18 januari 2008 9:39
To: [email protected]
Subject: AW: Eclipse, wsdl2java and huge warnings

I tried the Axis2_CodeGen_wizard_1.3.0, but if have still the same warnings: 

if i use ADB:
- The local variable event is never read
- The local variable handledAttributes is never read
- The local variable namespaceuri is never read
- The local variable nillableValue is never read
- The local variable prefix is never read
- The method writeAttribute(String, String, String, String, XMLStreamWriter) 
from the type [TYPE] is never used locally
- The method writeQName(QName, XMLStreamWriter) from the type [TYPE] is never 
used locally

BTW: What is QName?

if i use XMLBeans:
- The local variable [VARNAME] is never read
- The serializable class [NAME] does not declare a static final 
serialVersionUID field of type long
- The method [NAME] from the type [TYP] is never used locally

Regards,
Andreas

-----Ursprüngliche Nachricht-----

Maybe , you can use the Eclipse plugin
Axis2_CodeGen_wizard_1.3.0

It does the same. I am using it. It works fine.
You can use it ones and then build an ant-script to Regenerate.

This works without warnings.

Regards

Dirk

 

-----Original Message-----

Hi all,

i just downloaded the JDK 6 Update 4, axis2 1.3 and Eclipse 3.3. After that 
i've used the wsdl2java command-line tool to create the client classes.

wsdl2java -uri service.wsdl -u

Than i made a new java project in eclipse, with the options (compiler 
compliance level 1.4) and imported all the generated java files into it.
Now it have approximately 500 warnings!!! Mostley like "The local variable 
[VARNAME] is never read" (in can see the first 100 only)

Does anyone have any suggestions around suppressing/fixing these warnings?

Regards,
Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






================================================
The information transmitted via this e-mail is intended only for the person or 
entity to which it is addressed and may contain confidential and/or privileged 
material.  Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information by persons or entities other 
than the intended recipient is prohibited. If you received this in error, 
please contact the sender and delete the material from any computer.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






================================================
The information transmitted via this e-mail is intended only for the person or 
entity to which it is addressed and may contain confidential and/or privileged 
material.  Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information by persons or entities other 
than the intended recipient is prohibited. If you received this in error, 
please contact the sender and delete the material from any computer.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to