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

  • SEARCH
  • Home
  • 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 8514831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:58:39+00:00 2026-06-11T04:58:39+00:00

Context: I’m working on the design of a Project that involves a web client

  • 0

Context:

I’m working on the design of a Project that involves a web client on Wince 5.0 and a Tomcat server ( servlet based, providing XML/JSON data). The Web client is based on C# and net Compact Framework.

Question:

To consume the web service from the C# Web client I googled and found the WSDL approach.
Being new to C# I’m trying to find out if there is an equivalent of HTTPClient class found in Java using it for GET/POST. Since the client is UI Centric I would like to have a Asynchronous Web service call to provide a better user experience.

Any links would be of great help.

Thank you

  • 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-06-11T04:58:41+00:00Added an answer on June 11, 2026 at 4:58 am

    Under the full framework you have the WebClient, but it doesn’t exist in the Compact Framework. That’s not that big of a deal though, as you can use the HttpWebRequest in the Compact Framework, so a GET looks something like this:

    var request = (HttpWebRequest)WebRequest.Create(pageUri);
    using (var response = (HttpWebResponse)request.GetResponse())
    {
        using (var stream = response.GetResponseStream())
        {
            // read the response stream here
        }
    }
    

    And a send (POST/PUT/DELETE) looks something like this:

    var request = (HttpWebRequest)WebRequest.Create(pageUri);
    var requestStream = request.GetRequestStream();
    requestStream.Write(postBytes, 0, postBytes.Length);
    requestStream.Close();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Context: The structure of the code is that a WCF service (server-size) talks to
Context: As a personal learning project I've been working on a simple computer algebra
Context: I'm working on exercises in Software Foundations . Theorem neg_move : forall x
Context: .NET web service deployed on local IIS in XP. VS 2010 used to
Context: I have a clojure-based crossword app whose main ui is a JTabbedPane with
Context: I setup a photo upload that uses an iframe to upload the image,
Context I realized that in Twitter , the profile page is displayed in different
(context)I have information from a bunch of elements that I'm collecting into a JSON
Context: I have a text field in my form that is meant for entering
Context I have written a TreeList/TreeGrid (i.e. tree with columns) control that inherits the

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.