Protocols section in Web.config

E

Evgeny M.

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top