You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Alan Moore <am...@ciphergen.com> on 2002/05/01 00:40:38 UTC

WSDL2Java generates incorrect field reference (beta 2)

After running WSDL2Java (beta2) against my wsdl file, the generated code
contains references to a non-existent field:

javax.xml.rpc.ParameterMode.PARAM_MODE_IN

I think this should be:

javax.xml.rpc.ParameterMode.IN

since the ParameterMode class in the xmlrpc.jar distributed with Axis beta2
has this (updated?) definition...

Either I am picking up the wrong .jar or the WSDL2Java compiler generates
the wrong code. Does anyone know what the correct name should be?

BTW - the ParameterMode class in the Sun Java Web Services Developer Pack
EA2 (jwsdp-1.0-ea2/common/lib/jaxrpc-api.jar) has the .PARAM_MODE_IN
attribute.

alan