本文介绍了soap标头中的MustUndrestand属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 嘿伙计...... 我的WCF客户端中的mustundrestand属性存在很大问题... 我应该将值设置为0,但我发现无法做到这一点。 可以帮助我吗? :( 这是我的Soap标题: < s:Envelope xmlns:s = http://www.w3.org/2003/ 05 / soap-envelope xmlns:a = http://www.w3.org/2005/08/addressing > < s:标题 > < a:行动 s:mustUnderstand = 1 / > < a:MessageID > urn:uuid:998aee14-b393-4ba9-8977-229e6fe75bcc < / a:MessageID > < a:回复 > < a:地址 > http: //www.w3.org/2005/08/addressing/anonymous< / a:地址 > < / a:ReplyTo > < VsDebuggerCausalityData xmlns = http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink > uIDPowrDSQ7UliVNhtKY1gFPIaQAAAAAZlsQ0cJRu0KyOLKwou / SKmW2IUdILn5Jp3ig1wkdEL8ACQAA < / VsDebuggerCausalityData > ; < a: s:mustUnderstand = 1 > http://127.0.0.1:44006/ilws/InstantLinkSOA < / a: > < / s:标题 > 解决方案 hey guys...I have a big problem with mustundrestand attribute in my WCF client ...I should set the value into "0" but I found no way to do this .could any body please help me ?! :(this is my Soap header :<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> <a:Action s:mustUnderstand="1"/> <a:MessageID>urn:uuid:998aee14-b393-4ba9-8977-229e6fe75bcc</a:MessageID> <a:ReplyTo> <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> </a:ReplyTo> <VsDebuggerCausalityData xmlns="http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink">uIDPowrDSQ7UliVNhtKY1gFPIaQAAAAAZlsQ0cJRu0KyOLKwou/SKmW2IUdILn5Jp3ig1wkdEL8ACQAA</VsDebuggerCausalityData> <a:To s:mustUnderstand="1">http://127.0.0.1:44006/ilws/InstantLinkSOA</a:To> </s:Header> 解决方案 这篇关于soap标头中的MustUndrestand属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-20 22:01