Protocols section in Web.config

Discussion in 'ASP .Net Web Services' started by Evgeny M., Nov 27, 2006.

  1. Evgeny M.

    Evgeny M. Guest

    We have web.config for .Net 1.1 with section:
    <webServices>
    <protocols>
    <add name="HttpGet" />
    <add name="HttpPost" />
    <add name="HttpSoap1.2" />
    <add name="HttpSoap" />
    <add name="HttpPostLocalhost" />
    <add name="Documentation" />
    </protocols>
    </webServices>
    If this Web Services is running with .Net 2.0 we got error about
    HttpSoap1.2, in .Net 2.0 it should be HttpSoap12 (no point). The Web Service
    can run with .Net 1.1 and .Net 2.0, sometimes .Net 2.0 installed, sometimes -
    not.

    Can we put some syntax that backward compatible?
     
    Evgeny M., Nov 27, 2006
    #1
    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. James Coe
    Replies:
    2
    Views:
    792
    James Coe
    Aug 29, 2003
  2. yamadora1999
    Replies:
    2
    Views:
    669
    yamadora1999
    May 25, 2005
  3. yamadora1999
    Replies:
    1
    Views:
    535
    alex23
    May 24, 2005
  4. clintonG
    Replies:
    4
    Views:
    507
    clintonG
    Aug 24, 2006
  5. Brian McCullough
    Replies:
    0
    Views:
    626
    Brian McCullough
    Feb 16, 2007
  6. CSharpner
    Replies:
    0
    Views:
    1,414
    CSharpner
    Apr 9, 2007
  7. Ira Grollman
    Replies:
    0
    Views:
    240
    Ira Grollman
    Nov 26, 2007
  8. kampy
    Replies:
    9
    Views:
    670
    Steven D'Aprano
    Oct 19, 2012
Loading...