• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Axis2 the WSDL2Java is giving Java:16: "Object cannot be applied to" errors.

 
John Herman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This issue belonging to Compatablity of software, U can use the Jdk1.4 and below.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic