I have a WCF client proxy which reads from a SOAP web service. I do not control the service, only the client proxy. The result of invoking one of the operations of the service is defined as a very large XML schema, of which only a small subset is relevant in my application.
I have created a custom WCF behavior which allows me to parse the raw XML response and read only the relevant parts. However, the proxy still deserializes the response into an object graph (which is quite complex as a result of the XML schema). As far as my application is concerned, this last step is superfluous.
Is it possible to prevent my WCF client proxy from performing the last step of deserializing the response?