이 codeproject sample을 따랐습니다. JQuery와 섹션에있는 wsHttpBinding에 노출 된 서비스를 소비 에서
는이 쓰여 그 :JQuery 끝에서 WS-Security를 구현하려면 어떻게해야합니까?
A service exposed with “wsHttpBinding” binding implements WS-Security of WS-* family of web service specifications. As the binding uses security, the request will be rejected. The service cannot be called without implementing WS-Security at JQuery end. So, in order to call the service method, we have to compromise with the security.
그들이 안전하지 않은 <wsHttpBinding>
엔드 포인트를 구현하고 있습니다.
는하지만 내가 원하는 내 <wsHttpBinding>
될 것 <security mode="Message">
,
이 오프 과정이 아닌 작품과 다음과 같은 오류를 반환하지 : 나는 <security mode="None">
로 변경됩니다
The message could not be processed. This is most likely because the action 'http://www.enghouse.com/CosmoCom/WebAdminAPIServiceLibrary/IQueue/GetAllQueues' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding.
그것을 완벽하게 작동합니다.
제 질문은 어떻게 <security mode="Message">
을 구현할 수 있습니까?
내가해야 할 일은 무엇입니까?
감사합니다.