File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Axis incompatibility with java 1.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Axis incompatibility with java 1.5" Watch "Axis incompatibility with java 1.5" New topic
Author

Axis incompatibility with java 1.5

Eric Juneau
Greenhorn

Joined: Jul 13, 2009
Posts: 28
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
Marshal

Joined: Mar 22, 2005
Posts: 35220
    
    7
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.


Android appsImageJ pluginsJava web charts
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3652

I strongly recommend upgrading to Axis2. Axis1 has a lot of issues that never got properly resolved.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Axis incompatibility with java 1.5
 
Similar Threads
upgrade AXIS 1.2 to AXIS 1.4
Invoking CrmService from Java Client problem
Axis 1.4 webservice stub ignores SEND_TYPE_ATTR attribute
Problem with Apache Axis Soap Monitor
Installing AXIS 1.4 in WSAD 5.1