aspose file tools*
The moose likes Web Services and the fly likes Using Axis2 the WSDL2Java is giving Java:16: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using Axis2 the WSDL2Java is giving Java:16: "Object cannot be applied to" errors." Watch "Using Axis2 the WSDL2Java is giving Java:16: "Object cannot be applied to" errors." New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Axis2 the WSDL2Java is giving Java:16: "Object cannot be applied to" errors.
 
Similar Threads
When does 'this' become availible for use?
TIJ bruceeckel.simpletest question
how to sovle these two errors~~~help~~~
WSDL2Java problem
anyone help me!!!~~~