Http Post Format for WCF Restful Service

前端 未结 4 1473
独厮守ぢ
独厮守ぢ 2020-12-30 15:26

Hey, super newbie question. Consider the following WCF function:

[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityReq         


        
4条回答
  •  旧时难觅i
    2020-12-30 16:25

    I would guess that the piece of information that you are missing is that WCF passes back and forth serialized objects. The question is, what does a JSON serialized string object look like. Having never used JSON with WCF I can't tell you.

    However, I can suggest if you tried passing someObject2 instead of someText you will probably have more success.

提交回复
热议问题