WCF REST POST XML - The remote server returned an error: (400) Bad Request

前端 未结 2 733
日久生厌
日久生厌 2020-12-13 16:02

I have exposed my REST API service using WCF Service Library and started by console application. when I try to consume the service from client ( another console application)

2条回答
  •  时光取名叫无心
    2020-12-13 16:42

    Your XML namespaces are wrong. I don't have time to correct it for you, but needs to be in the "http://www.test.com/Enrollment" namespace according to your data contract.

提交回复
热议问题