Booleans - SOAP structures

Booleans - SOAP structures

  

Hi all.

I'm having an issue while consuming a SOAP service.

The service is complaining that a certain boolean parameter is notbeing sent. In my application I am setting the parameter to False, and beforethe web service call I am logging the Json structure that is going to be sentto the web service. 

I noticed that parameters set to False are not being sent as partof my request. Is there a reason for this to happen? How can I make sure thatthe parameter is sent as False?

Thanks in advance,

Maria

Hi Maria,

can you provide a small example of what you're trying to do?

Hi Maria,

You need to explain the problem right now unable to understand technically what problem you are facing.


-SK-

Solution

Hi Maria,

On each of your SOAP Method Action's input parameters you can specify if they should be sent when they have the default value, and the default is not to send it... since the default value for Booleans is False, the platform is not sending it. See an example on the screenshot below:

Solution