Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6706411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:31:02+00:00 2026-05-26T07:31:02+00:00

We are adding functionality to a Windows Mobile Client to send data to a

  • 0

We are adding functionality to a Windows Mobile Client to send data to a .NET service. Unfortunately the .cs class that svcutil.exe creates generates unusable code for Compact Framework. (that name does not exist in compact framework)

Is there a replacement or 3rd party class or workaround or any other way to get a mobile app to connect to a service?

We can change the API/service to be Compact-Framework friendly. We are new to the CF game (and .NET in general) We are not sure of the appropriate way to allow CF clients – the “out of the box” method was fine for desktop apps, but alas, not for mobile…

EDIT

I tried using netcfSvcUtil.exe instead but get an error (which I don’t get with svcutil.exe). I suppose this means that the service created is just not compatible with compact framework?

I am woefully ignorant of this – but I would assume that the specs for passing data have no correlation between platforms and that the transport can be worked out between the tow. I suppose this is naive…

Any suggestions on how to fix this? Do I need to change the service side to be mobile/compact framework friendly?

EDIT

the error messages I get are:

Error: An Error occurred in the tool.

Error: Error in the application

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:31:03+00:00Added an answer on May 26, 2026 at 7:31 am

    Check the soap version in wsdl, not sure, but I can recall that there was a problem with using SOAP 1.2 in CF. If that is the case, just force WCF to use 1.1 in the config file.

    Anyway, post the error message. The problem you describe sounds strange, because usually when there is a problem with wsdl file, SVC do not try to generate any code. Are you sure you are using svc in a way that produces CF code?
    Have you tried using Add Service Reference in Visual Studio? That worked great for me most of the times.

    Edit: I have read your question once more.
    – You can’t use ‘normal’ svcutil.exe to generate CF code, use netcfsvcutil.exe version
    – Instead of command line I really recommend to use Visual Studio Add Service Reference, then wizard takes care of everything.
    – Yes, web services are technology independent and supported by CF, just be sure to use bindings supported by CF (ex. basicHttpBinding) and soap version supported by CF.

    WCF <-> Compact Framework scenario could be confusing at the beginning but it does work well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Adding functionality to a class can be done by adding a method or by
I'm adding some functionality to my site so that users can upload their own
I'm adding some functionality to an existing code base that uses pure C functions
I am adding functionality to a legacy web application such that in certain circumstances
I'm adding some functionality to an existing 'popup' in an ASP.NET website. The popup
I'm adding copy and paste functionality to an existing Windows application. This MSDN page
I'm adding functionality to an existing Java application that's already been deployed extensively. (So
I have been given the task of adding functionality to an existing IIS 6.0
Are Java annotations used for adding functionality to Java code besides just adding documentation
I've been adding CMS functionality to a site using modx Evolution 1.0.2 . I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.