Re: unwrap primitives with ADB

2009-12-31 Thread Li Ma
Hi Amila, Thank you very much for your suggestion. Problem with -Euwc is that there's no way to control what to be converted to boxed primitive, what should not. And there's nothing like MIN_VALUE to int for boolean type. Any further suggestion? Maybe I should simply reconstruct my code for this

Re: unwrap primitives with ADB

2009-12-31 Thread Amila Suriarachchi
On Tue, Dec 29, 2009 at 12:13 AM, Li Ma wrote: > Any comment on this? I'm desperately waiting for an answer now. use -Euwc option to generate wrapped classes. or you can use Integer.MIN_VALUE as the null value. thanks, Amila. > > Thanks in advance! > > Li > > > On Sun, Dec 27, 2009 at 8:59 P

Re: unwrap primitives with ADB

2009-12-29 Thread Li Ma
I passed the following data mapping file to wsdl2java script, the int type still cannot be mapped to Integer: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="MappingFile.xsd"> http://www.w3.org/2001/XMLSchema";>int java.lang.Integer http://w

Re: unwrap primitives with ADB

2009-12-28 Thread Li Ma
Any comment on this? I'm desperately waiting for an answer now. Thanks in advance! Li On Sun, Dec 27, 2009 at 8:59 PM, Li Ma wrote: > 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 nu

unwrap primitives with ADB

2009-12-27 Thread Li Ma
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 defined. But in Axis2, it's been change to: int getMyInt(); I know if I do not unwrap when do WSD