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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:01:44+00:00 2026-05-20T14:01:44+00:00

I have a client VB .NET 3.5 WPF app which is basically a test

  • 0

I have a client VB .NET 3.5 WPF app which is basically a test harness – it calls a webservice (a classic .NET 2.0 webservice, NOT a WCF app) that’s in the same solution. to check some of the service methods runs correctly.

I’ve added the service to the the client project in VS as a Service Reference, and set the solution for both projects to be startup projects. That works fine when I’m debugging and running the whole thing locally. But the problem is, I need the user to be able to type in a URL at runtime, and have the test harness check out the service at the specified URL, not the one at the location that VS is running. This is so the test harness can check out already deployed copies of the web service. The problem is there doesn’t seem to be any way in the service reference to make the URL dynamic and settable from the VB code. Is it possible to do that?

  • 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-20T14:01:45+00:00Added an answer on May 20, 2026 at 2:01 pm

    I think you can dynamic point client to service. The service reference is a proxy of your service.

    I belive that you can use the other constructor of service reference(service proxy) that take a Url as parameter.

    e.g. YourServiceProxy(“Target url”)

    If you user change/edit the service url, i think you can initail other service proxy instance that take url which user specify.

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

Sidebar

Related Questions

I have a .NET based (WPF) app which crashes on Windows XP Service Pack
I have a .net client application which is connected to a remote database. Is
I have a .NET client application that needs to communicate with a server using
I have a client/server application that communicates with .Net remoting. I need my clients
I have a client-server application that uses .net remoting. The clients are in a
I know that the asp.net repeater doesnt have a Client side object model, and
For .net 3.5 SP1, Microsoft have the new client profile which installs only a
I have a .NET web-service client that has been autogenerated from a wsdl-file using
I have a simple form which is using ASP.NET MVC 3 unobtrusive client side
We have a client/server application with a rich client front end (in .Net) and

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.