how make use of Axis-1.1 with JDK 1.5 or later versions?

hi,

there is apackage name with enum in axis jar.

i am doing, upgradation to the developed application i.e. from jdk1.4 from 1.6. there is a conflict with package name "enum",

from jdk1.5 onwards enum is a keyword, so we cant make it use of that "enum" package.

can any one help me?

[314 byte] By [siva512a] at [2007-11-27 1:35:27]
# 1
I think you'll have to bite the bullet and move to a later version of Axis, that is 1.5-compliant. don't ask me which, but I've seen Axis docs that have the 'enum' package deprecated
georgemca at 2007-7-12 0:43:57 > top of Java-index,Java Essentials,Java Programming...
# 2
hi, thanks alot.can u help how to do this please
siva512a at 2007-7-12 0:43:57 > top of Java-index,Java Essentials,Java Programming...
# 3

> hi, thanks alot.

>

> can u help how to do this please

with what? since you're having to upgrade anyway, you're as well to get the latest stable release from http://ws.apache.org, check out the docs for the deprecated packages and refactor whatever code you've got that references those packages, to use the replacement packages

georgemca at 2007-7-12 0:43:57 > top of Java-index,Java Essentials,Java Programming...
# 4
in the latest axis also they have included enum package,thst the prob. how to avoid this,please help i am doing this from last 2days onwards
siva512a at 2007-7-12 0:43:57 > top of Java-index,Java Essentials,Java Programming...
# 5

> in the latest axis also they have included enum

> package,

> thst the prob. how to avoid this,

> please help i am doing this from last 2days onwards

for backwards compatibility, yes, but the enum package is deprecated. you can use the org.apache.axis.constants package instead

see [url=http://ws.apache.org/axis/java/apiDocs/org/apache/axis/enum/package-summary.html]here[/url]. you don't have to use the enum package at all

georgemca at 2007-7-12 0:43:57 > top of Java-index,Java Essentials,Java Programming...
# 6
thaks alot for this, i vl go through that
siva512a at 2007-7-12 0:43:57 > top of Java-index,Java Essentials,Java Programming...
# 7

> thaks alot for this, i vl go through that

you're welcome. once you've done the work, if you could just add a quick post to this thread about how much effort was involved, any problems you encountered, that would be a great help to anyone who has similar problems and finds the thread in future. it's bound to come up again

cheers

georgemca at 2007-7-12 0:43:57 > top of Java-index,Java Essentials,Java Programming...