This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I am trying to port an application that originally used Axis 1.1 to Axis 1.2. However, the generated code doesn't compile. It looks like some of the code is assigning primatives to wrapper objects.
With Java 5.0, this is not a problem with autoboxing. Unfortunately, I am using Java 1.4.2.
Question. Does Axis 1.2 require Java 5.0? And if it doesn't, am I missing something? Like maybe a parameter to axis-wsdl2java?
Thanks... I guess when I have the time, I'll take a look at it again. It is probably something really minor.
Henry
Ashutosh Shahi
Ranch Hand
Joined: Feb 06, 2005
Posts: 36
posted
0
Henry, Axis 1.2 very much works with JDK 1.4. Guess your problem is with typemapping. Axis 1.1 puts typemapping as 1.1 by default and in Axis 1.2, the default is 1.2, though the doc still stays 1.1.
Try giving --typeMappingVersion 1.1 to WSDL2Java and see if it helps.
Originally posted by Ashutosh Shahi: Henry, Axis 1.2 very much works with JDK 1.4. Guess your problem is with typemapping. Axis 1.1 puts typemapping as 1.1 by default and in Axis 1.2, the default is 1.2, though the doc still stays 1.1.
Try giving --typeMappingVersion 1.1 to WSDL2Java and see if it helps.
Ashutosh
Thanks... I'll take a look at it, when I revisit the issue.