Can web service take a variable?

Discussion in 'ASP .Net Web Services' started by casp, Aug 13, 2003.

  1. casp

    casp Guest

    I am developing a Win apps which have a login form. The login form asks user
    which database he/she want to connect through web service. Can I pass a
    parameter to web service to determine which database to connect?

    Thanks,
     
    casp, Aug 13, 2003
    #1
    1. Advertisements

  2. casp

    Somchai U. Guest

    Yes. You can pass database name or connection string to web service.

    Somchai

    "casp" <> wrote in message
    news:%...
    > I am developing a Win apps which have a login form. The login form asks

    user
    > which database he/she want to connect through web service. Can I pass a
    > parameter to web service to determine which database to connect?
    >
    > Thanks,
    >
    >
    >
     
    Somchai U., Aug 14, 2003
    #2
    1. Advertisements

  3. When you are calling functions on a web service it is like calling functions
    on a local library or private functions in that modules - in terms of
    parameter passing. Just as you can pass parameters to those functions, you
    can also pass parameters to functions you call on webservices.

    Sanjay.
    MCAD.Net

    "casp" <> wrote in message
    news:#...
    > I am developing a Win apps which have a login form. The login form asks

    user
    > which database he/she want to connect through web service. Can I pass a
    > parameter to web service to determine which database to connect?
    >
    > Thanks,
    >
    >
    >
     
    Sanjay Tibrewal, Aug 14, 2003
    #3
    1. Advertisements

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. hocho888
    Replies:
    1
    Views:
    881
  2. Michael Averstegge
    Replies:
    0
    Views:
    4,563
    Michael Averstegge
    Jan 10, 2006
  3. Ganny
    Replies:
    8
    Views:
    567
    Victor Bazarov
    Apr 7, 2005
  4. Not Me
    Replies:
    1
    Views:
    3,476
    Not Me
    Jun 5, 2007
  5. David Sanders
    Replies:
    4
    Views:
    585
    David Sanders
    Oct 30, 2007
  6. Isaias Formacio Serna

    Web Service that calls an external Web Service

    Isaias Formacio Serna, Jan 28, 2004, in forum: ASP .Net Security
    Replies:
    5
    Views:
    469
  7. Replies:
    1
    Views:
    413
    Joe Kaplan \(MVP - ADSI\)
    Jun 14, 2006
  8. Leo Violette
    Replies:
    0
    Views:
    1,317
    Leo Violette
    Apr 17, 2009
Loading...