Re: WebService in .Net, Client in Java -> Parameters from Client to Service "0"
[email protected] Mon, 29 Mar 2004 13:56:35 +0100 (WEST)
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
Citando Ren=E9 Kaiser <[email protected]>: > Hello ! > I've got the following problem: >=20 > The webservice >=20 > [System.Web.Services.WebMethod] > public int Add(int i, int j) { > return i + j; > }//Add >=20 Just try putting this line in the webservice: =20 [System.Web.Services.WebMethod] [System.Web.Services.Protocols.SoapRpcMethod] public int Add(int param1, int param2) { return param1+param2; } I had the same problem and that did the trick. Thanks Steve Porter for th= e tip.