You can have a parameterized constructor on your web service but there will
be no way to call this from your proxy. Instead, it will use the default
constructor.
--
Jared Parsons [MSFT]
ja******@online.microsoft.com
"This posting is provided "AS IS" with no warranties, and confers no rights"
"B.J." <BJ@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
Hi,
Can I have parameterful web service constructor ? I.e.
public class WS : System.Web.Services.WebService {
public WS(int A) {...}
...
}
Becuase I made it in Visual Studion .NET 2003, it is O.K. but when I want
to update Web service for client from Visual Studion , Visual Studio makes
parameterless definition for client.
Much thanks.