What are these extra parameters in my ASMX Proxy Methods?

后端 未结 4 1334
没有蜡笔的小新
没有蜡笔的小新 2020-12-19 05:29

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\' f

4条回答
  •  情书的邮戳
    2020-12-19 05:54

    This is due to a difference in the serialization mechanisms used in WCF and ASMX Web Services. To avoid extra params you must specify XmlSerializerFormat attribute on ServiceContract.

    for add read this: http://msmvps.com/blogs/windsor/archive/2008/05/17/calling-wcf-services-from-net-1-1.aspx

提交回复
热议问题