While I was trying to generate a WCF proxy client code for a windows mobile application that uses WS-I Basic Profile (basicHttpBinding), I was continuously receiving the following ambiguous error message from NetCFSvcUtil.exe
Error: An error occurred in the tool.
Error: Error in the application

After googling for hours and reading many blog posts from the WCF team blogs, I got nothing. Then I went to the final approach "Trial and Error".
After many trials I found that the problem is that the I've some operations that shares the same message contract as an input parameter, you will have the same error also if you have more than one operation that returns the same message contract.
The strange about this issue is that the service model utility for the desktop clients "SvcUtil.exe" generate the client code without any problems and after doing a lot of search I couldn't find any document or article from Microsoft that points to this issue, or state that difference between the service modeling utilities of desktop clients and mobile clients
Then I decided to write this post hoping it can save some time for anyone who had the same problem
Bye