I did this:
if (lis.DT_TransacaoV == null)
pdv.Transacao = "Não Recebido";
else
pdv.Transacao = "Recebido";
I have in the object PDV
a property called Transacao
of type string. If it is different from null it does the homework, but if it comes null it throws that value:
<Transacao i:nil="true"/>
Can you inhibit this and display the text?
Web service REST with WCF.