在响应对象属性的Web服务调用后的空 [英] Properties in a response object after a webservice call are null
本文介绍了在响应对象属性的Web服务调用后的空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以看到提琴手对象,但对象不是反序列化在我结束。有没有人见过这个?
I can see the object in Fiddler but the object is not deserializing on my end. Has anyone seen this before?
推荐答案
响应为空或响应包含空值或请求为空或请求包含空几乎总是意味着你有一个命名空间不匹配。例如,响应可能包含以下内容:
"Response is null" or "Response contains nulls" or "Request is null" or "Request contains null" almost always mean that you have a namespace mismatch. For instance, the response may contain:
<response xmlns="http://foo.com"/>
但实际上应该
but should in fact be
<response xmlns="http://bar.com"/>
在这种情况下,空将接收
In this case, null will be received.
这篇关于在响应对象属性的Web服务调用后的空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文