How to make WCF client use the same data types as the WCF service

后端 未结 1 1793
谎友^
谎友^ 2021-01-24 03:56

I have a .NET WCF service that services only .NET WCF clients (all .NET 3.5, no interoperability, via TCP, binary encoding). Using svcutil.exe the composite types that are used

1条回答
  •  萌比男神i
    2021-01-24 04:40

    In the "Add Service Reference" dialog, on the "Advanced" tab, specify "Reuse existing types".

    0 讨论(0)
提交回复
热议问题