WCF not deserializing JSON input

前端 未结 1 1292
悲&欢浪女
悲&欢浪女 2020-12-22 03:15

I have a WCF service defined as follows:

Imports System.ServiceModel
Imports System.ServiceModel.Web


Public Interface ILayoutServi         


        
相关标签:
1条回答
  • 2020-12-22 03:51

    it's hard to tell from just the detail you've provided.

    Here is what I suggest:

    • Enable tracing on the service side, generate tracing logs, and analyze with SvcTraceViewer. To do this, follow the instructions at this MSDN article on using the service trace viewer.

    • Turn on debug exceptions. This is done by turning in includeExceptionDetailInFaults, which you can do by following the instructions here.

    • Use Fiddler to monitor the wire traffic on both the client side and the service side.

    Generally, once you do this, you should plenty of more info on what's going funky at the service side and can diagnose the issue pretty quickly. Try it, and please report back! :)

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