473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Dynamic Web Services

I want to be able to reconfigure a web service client to point from a web
service on a development platform to the same web service on a staging
platform. I can't rebuild the app and reset the location and send out new
assembly's to everyone. I am able to edit the app.config file and define a
new URL(196.168.15.101) for the web service location. When I put in a
symbolic link(rd1) that is defined in the Host file as "196.168.15.101" I get
an HTTP 401 error(Access Denied). I can ping to "rd1" and get a reply. I am
using Default Credentials as in the following:
ser.Credentials = System.Net.CredentialCache.DefaultCredentials

Any thoughts?

Thanks,
Marc
Mar 23 '06 #1
1 954
Is the Directory Security on the IIS of the staging box different from the
one on the dev box?

I do this all the time and don't even use the Credentials setting that you
mentioned.

Regards,
Pandu
--
blog: www.thinkingMS.com/pandurang
"Marc" wrote:
I want to be able to reconfigure a web service client to point from a web
service on a development platform to the same web service on a staging
platform. I can't rebuild the app and reset the location and send out new
assembly's to everyone. I am able to edit the app.config file and define a
new URL(196.168.15.101) for the web service location. When I put in a
symbolic link(rd1) that is defined in the Host file as "196.168.15.101" I get
an HTTP 401 error(Access Denied). I can ping to "rd1" and get a reply. I am
using Default Credentials as in the following:
ser.Credentials = System.Net.CredentialCache.DefaultCredentials

Any thoughts?

Thanks,
Marc

Mar 24 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Generic Usenet Account | last post by:
Most of the open source web-service products that I am reading about seem to require generation of client stub and server implementation ancestor classes from the WSDL file. The client application...
2
by: Ollie | last post by:
okay before anyone says I shouldn't use session state in a web services don't both..... I have 2 web services that both use sesssion state and share the session state between the web services,...
15
by: Nak | last post by:
Hi there, Is it possible to load a web service dynamically? i.e. If the web service were to exist on a system with a non static IP address, an application could download a "locator" file that...
3
by: JL | last post by:
I have a VB.NET desktop program that reads/writes data to a server using a Java-based Web Service. This web service, in identical formats, is located on several servers with each server being a...
3
by: Steve Duda | last post by:
Hi everyone, I'm trying to write a tool that among other things will allow the user to specify a location of a wsdl, choose a function within this set and map the parameters into fields within...
5
by: Kimba | last post by:
Hi. Using VStudio I have developed a WebService which I placed onto several servers. However my application can only access one on server. During runtime, I tried to change the URL of the...
7
by: Joey | last post by:
I don't care what .net language this come in but I really need to determine if a disk is dynamic or basic. I have posted something in the WMI group but no one knows how to do it. Does anyone have...
0
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- Hi, I am creating a Dynamic Search in my application. I...
4
by: =?Utf-8?B?TWlrZSBDb2xsaW5z?= | last post by:
I am trying to set up a dynamic search using linq. I believe the syntax is correct, but cannot confirm it because when I try to cast my Session from a List<to IQueryable<>, I get a cast error...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.