Server Error in '/' Application.

Server was unable to process request. ---> Sintaxis incorrecta cerca de ')'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Sintaxis incorrecta cerca de ')'.

Source Error:


Line 397:        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ws.icnea.net/WSreserves/catalegXnits", RequestNamespace="http://ws.icnea.net/WSreserves", ResponseNamespace="http://ws.icnea.net/WSreserves", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
Line 398:        public System.Data.DataSet catalegXnits(string territori, int persones, int preu, int tipus, System.DateTime entrada, int nits, int emp, string pwd) {
Line 399:            object[] results = this.Invoke("catalegXnits", new object[] {
Line 400:                        territori,
Line 401:                        persones,

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\051e1526\bf9f76f\App_WebReferences.qvl1etty.0.cs    Line: 399

Stack Trace:


[SoapException: Server was unable to process request. ---> Sintaxis incorrecta cerca de ')'.]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +551452
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
   net.icnea.ws.WSreserves.catalegXnits(String territori, Int32 persones, Int32 preu, Int32 tipus, DateTime entrada, Int32 nits, Int32 emp, String pwd) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\051e1526\bf9f76f\App_WebReferences.qvl1etty.0.cs:399
   Establiments.Page_Load(Object sender, EventArgs e) in C:\IcneaWebs\W0\bcnhouses.com\Establiments.aspx.vb:69
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433