How to use a web service?

Posted on 2011-05-09
Last Modified: 2012-05-11
Hello group,

I need to write a small application to consume a web service using C# and I'm new to it. Where can I learn about it? Is there any available web service (or maybe something like sandbox) that I can use?

any help is appreciated.

Question by:akohan
    LVL 13

    Assisted Solution


    You can create your own simple webservice, then create an application to consume it. This short video describes just that:
    LVL 12

    Assisted Solution

    If you're looking to use a publicly available Web service, below are a couple to consider. You will need to know how to parse the data that's returned. For instance, Weather Channel returns the data in XML.

    Weather Channel has an API


    If you're looking to do something simpler, these links are a good start.
    LVL 16

    Accepted Solution


    try looking on the tutorial links below

    as i knew, there is two types of webservice return type is available.
    1. simple datatype returns single value (i.e., returns string or integer or boolean etc...)
    2. complex datatype (multiple datatypes returned like array, structure values)

    so while consuming webservice, first you look on the request and response formats.

    from the wsdl file you can get the request/response formats.

    let us know if u need any clarification.

    Happy Programming.

    Author Comment


    Thanks to all.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now