Bonjour,
j'ai cette erreur lors du déploiement d'un web service dans IIS 6:
Mon code :System.InvalidOperationException: Parametre source manquant.
à System.Web.Services.Protocols.ValueCollectionParameterReader.Read(NameValueCollection collection)
à System.Web.Services.Protocols.HttpServerProtocol.ReadParameters()
à System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
Code c# : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 /// <summary> /// Summary description for Service1 /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. // [System.Web.Script.Services.ScriptService] public class Service1 : System.Web.Services.WebService { [WebMethod] public void Unzip_Click(string source, string imprimante) {} }
Quelqu'un saurait ce qui peut provoquer cette erreur ?
Merci.
Partager