axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Ma <>
Subject unwrap primitives with ADB
Date Mon, 28 Dec 2009 01:59:31 GMT
Hi there,

I'm upgrading from Axis1 to Axis2 now. In Axis1, method:
Integer getMyInt()
will be converted to:
Integer getMyInt();

So I can return null to indicate special situation, such as value not

But in Axis2, it's been change to:
int getMyInt();

I know if I do not unwrap when do WSDL2Java, I can perform extra check on
weather the value has been assigned or not. But I have to unwrap the code,
otherwise, change of my existing code will be unbearable.

Any idea how I can keep my Integer type?


Li Ma

View raw message