help with Jrun 4, Axis & jdk1.5

Posted on 2007-07-31
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
    LVL 2

    Accepted Solution

    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

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

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

    733 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now