If I add a web reference from a .NET 1.1 client to a WCF service, the proxy methods generated at the client contain an extra parameter ending with the suffix 'Specified' for each service method parameter, e.g.
[OperationContract]
string HelloWorld(string foo, int bar);
results in:
Service1.HelloWorld(string foo, bool fooSpecified, int bar, bool barSpecified);
My service parameters aren't optional so what are these extra parameters at the client, and how can I get rid of them?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…