Thanks everyone for you help. Here's an update: I confess I don't quite understand what "re-generating java files from the WSDL" means. I'm guessing that means turning the axis services back into java source? All I am trying to do is just use the ant file in the Axis install home and type "ant compile".
So, I took Davanum's suggestion of changing all the references. The problem is, the classes in the "constants" package are pretty much empty. So, after doing a global find/replace, I just deleted the constants directory and renamed the enum directory to constants. (On a quick side note, there is also a file in the "tools" source that needs the reference change). This again didn't build under 1.5 but I got different errors. To make sure the changes I made were OK, I attempted a build under 1.4.2 and it worked fine. Here is an example an error I'm getting under 1.5 (they are all similar): [javac] C:\axis\src\org\apache\axis\message\NodeImpl.java:45: org.apache.axis.message.NodeImpl is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node [javac] public class NodeImpl implements org.w3c.dom.Node, javax.xml.soap.Node, [javac] ^ This looks to me that the wrong base class (org.w3c.dom.Node) is being used in the inheritance chain. Anyway, I am going to keep plugging away at it, but any advice would be appreciated. I know I should probably just go back to 1.4.2, but now it is becoming a pride thing. After spending all this time, I must figure this out!!! -JF --- Davanum Srinivas <[EMAIL PROTECTED]> wrote: > or replace all references of org.apache.axis.enum.* > to > org.apache.axis.constants.* > > -- dims > > > On Fri, 10 Dec 2004 12:34:57 -0700, ANDREW MICONE > <[EMAIL PROTECTED]> wrote: > > Re-gen your java classes from the WSDL (making > sure to move your BindingImpl out of the tree so > that can be regenerated as well). I got this to > work. You might want to consider just tooling back > to JDK 1.42. That's what I did after I figured out > that all JDK 1.5 was buying me was a little better > error message processing on compile. Most everything > else I use could be added to the 1.4 environment by > adding the right jars to the CLASSPATH. -- Andy > > > > >>> [EMAIL PROTECTED] 12/10/04 12:06PM >>> > > > > > > Thanks for the reply. > > > > After I posted my message yesterday, I did go > ahead > > and attempt to build Axis using RC2. However, the > > compiler output still spits out all the "enum" > errors. > > If I switch the JAVA_HOME environment variable to > the > > 1.4.2 home, Axis builds fine. > > > > Is there some simple step I'm missing to get RC2 > to > > build with 1.5? I've been through a long thread > on > > this topic from a month ago but I can't find > anything > > to help. > > > > The only reason I find myself needing 1.5 is > because I > > built a whole server environment and website a > month > > ago using 1.5 (figured it was the latest and > greatest, > > so why not?). Only now do I find myself needing > Axis > > and I'd prefer not to switch my environment over > to > > 1.4 unless there's no other way. > > > > Regards, > > > > JF > > > > --- ANDREW MICONE <[EMAIL PROTECTED]> wrote: > > > > > Actually, you just need the latest 1.2RC2 (the > > > version that changed enums to constants) to get > it > > > to work under J2SE1.5. It is still compiled > under > > > 1.42. It sounds like you are having problems > with > > > errors generated by WSDL2Java. > > > > > > By the way, unless you are using J2SE1.5 > features, > > > you don't gain much in going to 1.5 over just > runing > > > tomcat with the compability package installed in > > > 1.42 (assuming that's your environment). -- Andy > > > > > > >>> [EMAIL PROTECTED] 12/09/04 03:12PM >>> > > > When using Axis with java 1.5 installed I get > all > > > these Unsupported major.minor version errors. > When > > > I > > > switch to any version of 1.4 I have no problems. > > > > > > So, I am guessing that I must recompile the Axis > > > source under 1.5 for it to work properly? I've > read > > > other messages of people who have successfully > > > gotten > > > Axis to work under 1.5 (lots of messages on the > > > "enum" > > > bug). I know this solution seems obvious but I > just > > > want to make sure it will work. > > > > > > Thanks, > > > > > > JF > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > > protection around > > > http://mail.yahoo.com > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Meet the all-new My Yahoo! - Try it today! > > http://my.yahoo.com > > > > > > > -- > Davanum Srinivas - > http://webservices.apache.org/~dims/ > __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo