Windows 7 and Mobile Devices
Something quick, at @3Metas we have worked a lot in the last few months on the development of applications for mobile devices that run Windows Mobile. Recently we updated our development machines to Windows 7 and we have found a problem when WCF services are consumed.
As you will know to consume a WCF service from a mobile device using the compact framework you have to create a proxy class using the NetCFSvcUtil.exe utility that is part of the set power toys of the compact framework 3.5 of .net.
The problem is that when this utility is used in Windows 7 an error like this always occurs:
Attempting to download metadata from ‘http://localhost/DinnerNow/service/DeliveryService.svc’ using WS-Metadata Exchange or DISCO.
Error: An error occurred in the tool.
Error: Error in the application.
There is an incompatibility between the proxy class generation tool and Windows 7, fortunately it was already resolved and an update of the tool can be obtained from this link.
Or you can generate the proxy file in Vista or XP and pass it to the project in Windows 7 :-).
References.
Enjoying this? Get more like it, once a week.
http://blogs.msdn.com/habibh/archive/2009/06/26/netcfsvcutil-exe-and-windows-7.aspx
http://news.softpedia.com/news/Updated-NetCFSvcUtil-exe-for-Windows-7-and-Vista-SP2-118787.shtml
Juan Peláez
CTO
3Metas Corp.
Keywords: Mobile devices, Windows Mobile, WCF, Compact Framework, 3Metas, Application Development, Solutions for Mobile Devices, Mobile Devices, Mobile Applications, Software Development, Mobile Applications Architecture.
Advertising: Do you need to develop applications for Mobile Devices with Windows Mobile?, do you want to use SOA on Mobile devices?, contact us at sales@3metas.com.
Need Expert Help?
Let's discuss how I can help with your technical challenges
Schedule a Consultation