Monday, October 28, 2013

Windows Communication Foundation - Gotchas

Gotcha: Server is always receiving a NULL value parameter though the client is sending the appropriate data. Method signature in the proxy and wsdls seem to be correct.
Solution: Look for the name of the parameter in the generated wsdls. WCF does a string comparison of the parameters, therefore, watch out to see if the wsdls and the generated proxies have an exact match even in the parameter names. A trained programmer mind might often overlook this fact since in the world of computer programming method signatures matter and the actual parameter names are irrelevant.

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6962084931129525"
     crossorigin="anonymous"></script>

No comments:

Post a Comment