AFAIK, all references to org.apache.axis.enum.Style can be replaced with
equivalent calls to org.apache.axis.constants.Style; similarly for
org.apache.axis.enum.Use and org.apache.axis.constants.Use. This applies since
Axis 1.2. If you generate stubs with WSDL2Java in Axis 1.2 (1.2.1?) or later
this is done for you. If you want to recyle older stubs then make the change
by hand.

When compiling Axis-1.2.1-based code with JDK 1.4.2 and reusing stubs with the
org.apache.axis.enum.* classes, I got problem at run time with classes not
being found. These problems went away with Axis 1.3. Our (AstroGrid's) current
test-system is running with stubs generated by Axis 1.1 and jars from Axis
1.3. It seems to work well enough.

On Mon, 31 Oct 2005, Jacob Feldman wrote:

> I am switching to JDK 1.5 and got an error:
>
>             Syntax error on token "enum", class expected
>
> in the line where I use
>
>             org.apache.axis.enum.Style.RPC
>
> I am using Axis 1.2. Would 1.3 help? Any advice?
>
> Thanks,
>
> ---------
>
> Jacob
>
>
>
>
>
>

Guy Rixon                                       [EMAIL PROTECTED]
Institute of Astronomy                          Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA          Fax: +44-1223-337523

Reply via email to