Interacting with WCF and EmitDefaultValue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Interacting with WCF and EmitDefaultValue

David Murphy
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




--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/3WYrHRo02rYJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.