Skip to Content
Jul 17, 2020 at 07:31 AM

OCC V2 WsDTO not include null fields in response.


Hi good day. In our project we have a requirement for OCC V2 services, where WsDTOs will be used by a middleware tool to map to other systems. The colleagues tell us that the structures must always include the fields defined by the specifications. The problem is that when using DefaultDataMapper the responses do not include the fields that do not contain information. I have already tried to use the mapping method with the mapsnulls flag in true but still these empty fields are not included in response.
What are we omitting?

Thank you very much.