axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Plautz <>
Subject Re: boolean type
Date Wed, 20 Apr 2005 14:00:54 GMT
Sorry for the confusion, I misunderstood the issue the developer was having.

We'd like to have a method that takes in a Boolean wrapper class instead 
of a boolean primitive ie exampleMethod(Boolean val). So, I guess what 
I'm looking for, is there a way to create the message definition so that 
it would generate it as the Wrapper type? Or, in situations like this 
are we "stuck" using primitives?


Venkat Reddy wrote:
> It works in my test case - generates "boolean" if nillable is false
> and Boolean for nillable=true. Can you provide the sample code to
> reproduce the issue.
> - venkat
> On 4/19/05, Joe Plautz <> wrote:
>>In using wsdl2java to create our services we're running into some
>>issues. When nillable is set to true we are expecting the Wrapper java
>>types to be used, but it's not. We run into this issue particularly when
>>we use booleans. Is this a known issue? Has anyone else had to deal with
>>this? Or, are we not understanding what's supposed to happen with
>>wsdl2java correctly? Any help would be appreciated.
>>Joe Plautz
> .

View raw message