| Author |
Using Axis2 the WSDL2Java is giving Java:16: "Object cannot be applied to" errors.
|
John Herman
Greenhorn
Joined: Jun 23, 2008
Posts: 1
|
|
Hello, I am attempting the build a Web Service client using the WSDL2Java utility. I have started to code a test program to use the stub classes but when I attempt to compile this program I get 100 errors like this: ^ .\com\oracle\xmlns\Enterprise\Tools\schemas\M306457_V1\SDK_STOCKCOMP_NAMETypeSha pe.java:16: Object() in java.lang.Object cannot be applied to (java.lang.String) super(_value); ^ .\com\oracle\xmlns\Enterprise\Tools\schemas\M254026_V1\ErrortextTypeShape.java:1 6: Object() in java.lang.Object cannot be applied to (java.lang.String) super(_value); ^ .\com\oracle\xmlns\Enterprise\Tools\schemas\M787794_V1\SDK_STOCK_TICKERTypeShape .java:16: Object() in java.lang.Object cannot be applied to (java.lang.Object) super((java.lang.Object) _value); ^ I am using Java 1.5.0_06 and Axis 1.4. Is there a compiler option or some way to handle to casting issue? Please help. John
|
 |
Srinivas Vallabhaneni
Greenhorn
Joined: Jun 27, 2008
Posts: 2
|
|
|
This issue belonging to Compatablity of software, U can use the Jdk1.4 and below.
|
 |
 |
|
|
subject: Using Axis2 the WSDL2Java is giving Java:16: "Object cannot be applied to" errors.
|
|
|