j'ai créé le web service suivant :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
 
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
    public Service () 
    {
        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }
 
    [WebMethod]
    public int AddInteger(int a,int b) {
        return a+b;
    }    
}
au lancement, j'ai le message d'erreur suivant :

"Unable to start debuging on the web server. Debugging failed because integrated windows authentification is not enabled. Please see help for free assistance"
Pouvez vous m'aider?

Merci d'avance.

Alexandre