| Author |
Error in code generated with WSDL2Java
|
J Krewson
Greenhorn
Joined: Oct 10, 2007
Posts: 7
|
|
Greetings, Here's the scoop. I have a set of classes that I built using WSDL2Java. When I build the project, I get the following types of errors: Error:Error:line (33)setStyle(org.apache.axis.enum.Style) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Style) Error:Error:line (34)setUse(org.apache.axis.enum.Use) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Use) Error:Error:line (76)setStyle(org.apache.axis.enum.Style) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Style) Error:Error:line (77)setUse(org.apache.axis.enum.Use) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Use) Error:Error:line (105)setStyle(org.apache.axis.enum.Style) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Style) Error:Error:line (106)setUse(org.apache.axis.enum.Use) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Use) Error:Error:line (132)setStyle(org.apache.axis.enum.Style) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Style) Error:Error:line (133)setUse(org.apache.axis.enum.Use) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Use) Error:Error:line (161)setStyle(org.apache.axis.enum.Style) in org.apache.axis.description.OperationDesc cannot be applied to (org.apache.axis.constants.Style) And here is a sample line of code that the errors are referring to: oper.setStyle(org.apache.axis.constants.Style.RPC); oper.setUse(org.apache.axis.constants.Use.ENCODED); This is frustrating because I am using the same code and same library as a co worker, and he is getting no errors in the project. The language level is 5.0, and I am including axis-1.4-2006-04-22.jar in my module library (using IntelliJ). I have looked around but I am not quite sure where to start with this...any pointers? Thanks!
|
 |
 |
|
|
subject: Error in code generated with WSDL2Java
|
|
|