WCF响应错误的数据标签 [英] WCF Response wrong data tags

查看:46
本文介绍了WCF响应错误的数据标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是WCF服务的新手,并且为休息调用创建了一个测试WCF.当我从服务中调用方法时,它的响应为:

Hello all,

I am new to WCF services, and I created a test WCF for rest calls When I call a method from service it give me response as :

<a:_x003C_StatusId_x003E_k__BackingField>1</a:_x003C_StatusId_x003E_k__BackingField>



预期的响应是:



Expecte response is :

<statusid>1</statusid>



请帮我解决这个问题.
在此先感谢.



Please help me to sort out this.
Thanks in Advance.

推荐答案

使用WCF服务您可能做错了很多,并且这里没有足够的代码来确定您所做的工作.我必须将您定向到Microsoft文档以解决您的问题:
WCF教程 [
There is a lot that you could have done wrong with a WCF service, and there is simply not enough code here to establish what you did. I''ll have to direct you to the Microsoft documentation to sort out your problem:
WCF Tutorial[^]

There are lots of articles and videos that could help you understand your problem.


这篇关于WCF响应错误的数据标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆