accessing WCF service on windows mobile

Nov 8, 2010 at 6:05 AM


I went through many links for connecting a smart device application to a WCF service, but when i run the smart device application, it gives the following error:

"There was no endpoint listening at http://localhost:1233/Service1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."

I have gone through the following steps for creating this project:

  1. Created a WCF Service Application.
  2. Changed its binding to "basicHttpBinding".
  3. Created a Smart Device Project.
  4. Added the 2 files generated using NetCFSvcUtil.exe.

Can anyone please help me ??