Using fully qualified names in generated code is because it prevents
collisions.
If it generated:
public Integer myMethod(Integer in0) {...}
there would be the possiblity that an Integer class in the same package
would be used.
There is no way to turn this off.
Rich 'Shirley' Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115 (IBM TL 678-5115)
"Cohan, Sean" <[EMAIL PROTECTED]>
07/17/2002 04:04 PM
Please respond to axis-user
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: Package Name in Method Parameter and Return Types
I'm using Java2WSDL and WSDL2Java. WSDL2Java places the fully qualified
class name in method parameters and return types. For example, if I have
an
Integer being passed to method myMethod which returns an Integer,
WSDL2Java
would gen:
public java.lang.Integer myMethod(java.lang.Integer in0) {...}
Is there a way to turn this off so that it only gens:
public Integer myMethod(Integer in0) {...} ???
My javadocs turn out not so user friendly with fully qualified class
names.
Thanks.