[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


help with Jrun 4, Axis & jdk1.5

Posted on 2007-07-31
Medium Priority
Last Modified: 2008-01-09
Now that JRun 4 with Updater 6 supports JDK 1.5 how does one go about using
Stub/Skeleton classes generated from the wsdl2java provided with JRun?

It appears that JRun is still using Axis 1.1 (contained within the
webservices.jar file). Classes generated using that utility will contain
things like "org.apache.axis.enum.Style.RPC" but "enum" is a reserved word in
JDK 1.5. That issue was fixed in Axis 1.2.1 but again it appears that JRun is
using Axis 1.1.

Are there any workarounds for this issue (besides modifying the jrun.jar and

Any assistance would be greatly appreciated.

- PD
Question by:pgdar

Accepted Solution

tbeernot earned 375 total points
ID: 19607019
You could always try to insert a newer version of the Axis jar in the classpath BEFORE the webservice.jar. This would cause the newer Axis to be used. Then you can also use the newer wsdl2java to generate 1.5 compatible stubs.
Another approach would be to instruct javac to assume 1.4 compatible sources, but that would take away any Java 1.5+ features.

Author Comment

ID: 19616566
Thanks - we regenerated the stubs using 1.5 wsdltojava and it seems to be working.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month19 days, 20 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question