WCF metadata missing operations

后端 未结 2 1338
孤街浪徒
孤街浪徒 2020-12-11 15:21

I have a simple webservice running in Visual Studio. If I attempt to view the metadata it is missing information about the operation and so svcutil generates client code wit

相关标签:
2条回答
  • 2020-12-11 15:38

    Worked it out. Setting ReplyAction="*" for an OperationContract means the WsdlExporter (which publishes the metadata) will ignore that Operation. Setting any other value fixes it.

    What bothers me about this is that svcutil will by default set replyaction to * which means svcutil by default creates services for which the metadata is effectively broken.

    0 讨论(0)
  • 2020-12-11 15:41

    try removing FCRPublish from the address of your enpoint... your mex endpoint is there and seems ok, so I believe it should work

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