当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - "soap header security was not understood" wse3 vs2012

问题描述:

I am trying to get the response from a web service which i have no control over, i just have the wsdl that is it. its an old wse3 webservice 10+ more years.

I am using vs2012 to consume the wse3 web service. i added it to vs2012 by adding a web reference. so i could use microsoft.web.services3.webservicesclientprotocol

The web service as wsse:security, to make the request i used the UsernameToken class but now the web service response is giving me the error "soap header security was not understood".

I used fiddler to confirme that i has getting an response and i am (note: to see the xml in fidler i had click "Response is encoded and may require decoding before inspection" ), the response also as an wsse:security. header with "soapenv:mustUnderstand =1".

what can i do to get the webservice response?

thank in advance

ps: googling gave a couple of anseres but nothing worked

分享给朋友:
您可能感兴趣的文章:
随机阅读: