19
Views
4
Comments
Null value instead "" in SOAP request
Question

Hello.
I need help :_)


I need to pass a NULL value in a SOAP integration request.
Not a empty string, because I try to pass NullTextIdentifier() and doesn't works.


any help is wellcome!

NullTextIdentifier() would return "" as NullIdentifier() would return 0.

Variables also have these values by default, depending on their type, so in order to pass null maybe you'll need to pass nothing at all, and if the SOAP integration has that field as nullable it'll take null as value.

Hi Alexandra,

You mean you want the element to be empty, like one of these (which are identical)?

<element></element>
<element/>

What is the data type of the element? Text or Integer?

yes, like your example.

The data type is text.

So what happens if you just assign an empty Text to the attribute? I would assume it would result in the above.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.