Interacting with WCF and EmitDefaultValue

43 views
Skip to first unread message

David Murphy

unread,
Jun 5, 2012, 11:05:06 AM6/5/12
to va-sma...@googlegroups.com
Hey all..

I'm trying to interact with a WCF webservice that has several data members with the property 'EmitDefaultValue' set to false.


AFAIK, there is nothing in the WSDL that will tell me certain fields might not be serialized for 'performance gains'.  So when I'm processing the response object tree, and I try to access an element that i think should there ( but isn't ), the AbtXmlMappedElement>>doesNotUnderstand: handler errors out.

I don't want to put #isDefined: in a bunch of places.. it seems to me that the framework should be able to, at the very least, check the schema to see if the element I'm looking for could be there, and if it's not, give me a value based on the element's type in the schema.  I'm on VA Smalltalk 7.5.2 now.. might this have been added since then? Or do I have to roll my own solution?

Thanks!
dave




Reply all
Reply to author
Forward
0 new messages