TrainBeaser for iPhone
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Web Services
 
RSS feed
 
New topic
Author

Axis incompatibility with java 1.5

Eric Juneau
Greenhorn

Joined: Jul 13, 2009
Messages: 20

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
Sheriff

Joined: Mar 22, 2005
Messages: 26787

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.

Java web chartsImageJ PluginsSpecification URLsJava FAQs
Scott Selikoff
Bartender

Joined: Oct 23, 2005
Messages: 3064

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
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Web Services
 
RSS feed
 
New topic
replay challenge