Ignoring in resulting XML for webservice fields that are nullified as a result of adapter call
I’m creating a webservice using Apache CXF. In my webservice methods I need to keep some legacy logic, meaning that for some fields and read operations, if value retrieved from DB is 0, the corresponding field should not be present in outbound XML (and other way around – for write operations, if field is missing in inbound XML, the value stored in DB should be 0).