Setting of WebService Attribute

Discussion in 'ASP .Net Web Services' started by Prabhakar, May 25, 2005.

  1. Prabhakar

    Prabhakar Guest

    Hi,
    How do i set the namspace attribute of a webservice from a key in web.config
    file.Say, for example something like :

    [WebService(Namespace=ConfigurationSettings.AppSettings.Get("NameSpace"))]

    Do i have to go for a Custom Attribute?

    Thanks
    Prabhakar
     
    Prabhakar, May 25, 2005
    #1
    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. Bostonasian
    Replies:
    1
    Views:
    835
    Joris Gillis
    Sep 18, 2005
  2. Replies:
    2
    Views:
    1,097
    Henry S. Thompson
    Mar 6, 2006
  3. Donnal Walter

    class attribute to instance attribute

    Donnal Walter, Jun 30, 2005, in forum: Python
    Replies:
    4
    Views:
    515
    Greg Ewing
    Jul 6, 2005
  4. Russell Warren
    Replies:
    5
    Views:
    494
    Russell Warren
    Jan 17, 2006
  5. Guest
    Replies:
    6
    Views:
    397
    Guest
    Sep 4, 2007
Loading...

Share This Page