File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis incompatibility with java 1.5

 
Eric Juneau
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a webservice class named ReceiveServicePortStub.java. In this stub, I make a new OperationDesc and set some variables. Two of those are setStyle and setUse. My program used to be on 1.4, now it's on 1.6. Thus, it's giving me compatibility warnings for the old packages that have enum in the title. As a result, it's giving me a NoSuchField: RPC error when I run it in Tomcat. My question is, what can I replace org.apache.axis.enum.Style.RPC and org.apache.axis.enum.Use.ENCODED with to be forwards compatible?

This is using axis 1.4.jar
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe if you are prepared to change JVMs, there's a chance you could change Axis to a newer version as well? Axis2 doesn't have an "enum" package any more.
 
Scott Selikoff
author
Saloon Keeper
Posts: 3900
16
Eclipse IDE Flex Google Web Toolkit
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I strongly recommend upgrading to Axis2. Axis1 has a lot of issues that never got properly resolved.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic