This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?