There is a difference between null and empty.
There is a difference between a document and a field.
The results pane of Developer does not conditionally display a document based upon whether or not a field within exists or is empty. If the document is in the pipeline (not null), Developer will display it. If a field within a document is present but has a null value, it will be displayed (with the literal null displayed in red as the value). If a field within a document is present and has a value (even if it is empty) it will be displayed.
But anyway, I earlier missed what you were doing. convertToString doesn’t perform validation. You can either validate the IS document using the validate service before calling convertToValues (you’ll need an IS schema or IS doc type), or you can use convertToString followed by a convertToValues with validate set to true.
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services