Home Page › Forums › BizTalk 2004 – BizTalk 2010 › WCF Service return null › Re: WCF Service return null
Hi Junaid,
Do you have the WCF Tracing turned on? This issue can be difficult to debug without enabling tracing. You can follow this article on MSDN for enabling tracing http://msdn.microsoft.com/en-us/library/cc185303(BTS.10).aspx. Make sure you dont enable it on production servers and only the development servers 🙂
Next I would like to suggest to use complex types instead of primitive types like strings, int etc. The issue would probably go away…
You might find this thread useful on MSDN. The user has the same issue with the string and when he uses the typed messages he gets the response message. I doubt it has something to do with serialization and I dont agree with this reason which he is giving.
http://social.msdn.microsoft.com/Forums/en/biztalkgeneral/thread/7e9adc00-d1ab-4a71-835f-4879600fcf02
Enable the tracing and see what you get. The configurations and hosting of the service is fine.
Thanks
Abdul Rafay
http://abdulrafaysbiztalk.wordpress.com
MVP & MCTS BizTalk Server