Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / September 2006

Tip: Looking for answers? Try searching our database.

Standard way to accomplish production / development switch

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kellygreer1 - 27 Sep 2006 16:11 GMT
Hi group,

If I have written some web services with about 20 methods.  Each one of
these methods uses a standard dev database connection.  As I move this
Web Service to production, I would like to offer the ability for
clients to hit the production or development databases.  I'd like the
client to be able to pass this extra info so it could decide which
connection to use.

Is there a way to do this without adding a variable to each one of the
20 methods?

I guess there are a number of approaches... but none of the thoughts I
had seem standard or WS* standard. I need something that would also
work well with non-Microsoft SOAP clients also.

Any thoughts?

Thanks in advance,
Kelly Greer
kellygreer1@nospam.com
replace nospam with yahoo
bruce barker (sqlwork.com) - 27 Sep 2006 18:28 GMT
use two urls for the webservice.

-- bruce (sqlwork.com)

> Hi group,
>
[quoted text clipped - 18 lines]
> kellygreer1@nospam.com
> replace nospam with yahoo

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.