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 3407882
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:48:20+00:00 2026-05-18T05:48:20+00:00

We have a web service running on the server. We want to use the

  • 0

We have a web service running on the server. We want to use the service in local machine. Could some one kindly give all the steps to get the methods availble in the client.

We have created web methods in the server. And trying to access the same thing on the client. I can literally access those methods using the refernce variable of the server. but when I try to run it , it comes up with run time exception unable to connect to remote server.

I have added the web reference to my client class. What else I am missing. Do I need to do any kind of registration of service with client from command prompt.

I am assuming the client is unable to connect to server because the server is not running when I try to access the methods.

Any one with guidance will be helpful.
Thank you
Hari Gillala

I have added web refernce to this below client class using http://ipaddressofwerver/decisionclass/decisionclass.svc

The code:

try
    {
        DecisionClass ds = new  DecisionClass();

             string s = ds.Url;
        Label1.Text = s;
        string [] a = ds.GetList();
        foreach (string i in a)
        {
            Response.Write(i);


        }


    }
    catch (Exception Ex)
    {
        Response.Write(Ex.Message);
    }
  • 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-18T05:48:21+00:00Added an answer on May 18, 2026 at 5:48 am

    I am assuming the client is unable to connect to server because the server is not running when I try to access the methods.

    If it’s not running, it won’t generate a WSDL either. However, it may have been running while you created the web reference, and then stopped.

    Here are some things you can try to track down the problem:

    • Open the web service’s URL, as specified in the web reference, in a regular web browser. This should bring up the web service’s documentation page, and if you’re running locally and haven’t changed the web service’s web.config, you can even call some simple methods using the provided test forms
    • See if you can access the web service with SoapUI or a similar tool.

    Also, make sure you’re running the web service in IIS, not in the Visual Studio development server – IIS will keep running when you close the project or even Visual Studio, but the development server might not.

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

Sidebar

Related Questions

I have web service which i want to use to upload image to the
I have a WSE 3.0 based web service running in Windows Server 2003 under
I have a long running server side process (gets data via a web service
I have a asp.net webservice running in windows server 2003, i want it read/write
I have an echo web service running on lets say http://localhost:8080/axis2/services/Service1 . This service
I have a .NET Web Service running in VS2005 and a client that consumes
I have a web service that is running on IIS (6 or 7, doesn't
I have an ASP.NET web service running that accepts both HTTP POST and SOAP
I have a .NET 3.5 based web service running at http://localhost/serivce.svc/ . Then I
I have a static dictionary which holds authentications for a web service. I'm running

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.