We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

.NET Development With Web Services

lachmann
lachmann asked
on
Medium Priority
500 Views
Last Modified: 2012-05-11
This is a general .NET problem that I have when I work projects that include .NET Web Services.

In my development environment I have an ASP.NET Web Application project  with a simple Web Service that gets something from a database.
Also in my development environment I have a VB.NET SmartDevice application and I add a web reference to the above web service.

I work in my Dev environment and all Is well.

When It comes time to move my Web Service and corresponding SmartDevice client  that consumes the Web Service, what do I need to modify so that the client knows the new address of the Web Service without re-adding the Web Reference and recompiling in Visual Studio?
Comment
Watch Question

Anurag AgarwalPython Developer

Commented:
Hi Lachmann,

I think what you are looking for is explained in this article

http://www.codeproject.com/KB/XML/wsdldynamicurl.aspx

Let me know if still you are facing some problem.

Regards,
Anurag

Author

Commented:
This is close, but my project that consumes the Web Service is a Windows MObile Smartdevice application and I don't have a web.config in this type of project. And I don't see any other area where the dynamic URL is located.

So perhaps the question here is how the Smartdevice application uses the 'URL Behavior' setting and where it locates the URL when it is set to dynamic.
Senior Software Developer
CERTIFIED EXPERT
Top Expert 2009
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.