Standard way to accomplish production / development switch

Discussion in 'ASP .Net Web Services' started by kellygreer1, Sep 27, 2006.

  1. kellygreer1

    kellygreer1 Guest

    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

    replace nospam with yahoo
    kellygreer1, Sep 27, 2006
    #1
    1. Advertising

  2. use two urls for the webservice.

    -- bruce (sqlwork.com)

    "kellygreer1" <> wrote in message
    news:...
    > 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
    >
    > replace nospam with yahoo
    >
    bruce barker \(sqlwork.com\), Sep 27, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shland
    Replies:
    4
    Views:
    571
    shland
    Oct 20, 2003
  2. flamesrock

    XML: Better way to accomplish this?

    flamesrock, Jan 3, 2005, in forum: Python
    Replies:
    2
    Views:
    279
    flamesrock
    Jan 4, 2005
  3. Joseph L. Casale

    A better way to accomplish loop

    Joseph L. Casale, Feb 12, 2013, in forum: Python
    Replies:
    0
    Views:
    91
    Joseph L. Casale
    Feb 12, 2013
  4. Dave Angel

    Re: A better way to accomplish loop

    Dave Angel, Feb 12, 2013, in forum: Python
    Replies:
    0
    Views:
    137
    Dave Angel
    Feb 12, 2013
  5. Joseph L. Casale

    RE: A better way to accomplish loop

    Joseph L. Casale, Feb 12, 2013, in forum: Python
    Replies:
    0
    Views:
    102
    Joseph L. Casale
    Feb 12, 2013
Loading...

Share This Page