cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a boolean webservice parameter to null

Former Member
0 Kudos

Hi all,

is it possible to set a boolean input parameter of a webservice to null?

False and true works well, but is there also the posibility of setting it to null?

Greetings

Florian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Florian,

If it is of type boolean, it can store either true or false, nothing else.

Could you please tell us, in which case would be the possibility of setting it to NULL?

Regards,

Vani

Former Member
0 Kudos

I will try to explain.

Our webservice has a boolean input parameter. And it acts like the follwing pseudo-code:


IF bool_arg == null
   action1;
ELSE IF bool_arg==false
   action2;
ELSE IF bool_arg==true
   action3;
ENDIF;

With the value NULL i mean that the input paramter is not in the SOAP-XML.

But with Visual Composer i only manage to set the value to true or false.

I cannot find a way to set it to null (which means it is not in the SOAP-XML).

Edited by: Florian Kandlinger on May 27, 2008 12:14 PM

Former Member
0 Kudos

no ideas?

Answers (0)