I am using a WCF webservice in my application, while i am sending a request im monitoring the request and responses with fiddler. the problem is for null tags, wcf client generates nil=true
attribute. is there anyway i could change the them to blank tags ?
here is the example
<a:Seats i:nil="true" />
which is list of Seat class, it is optional tag so it is not necessary to pass it. but when i send a request like above i receive Object reference not set to an instance of an object
response from the web service. i have been asked to remove the nill attribute from the request. so it must become like this
<a:Seats/>
Adding EmitDefaultValue=false
will remove the tag completely so it is not the answer. how can i do that ?