سؤال

I'm trying to consume a web service with WS-Security done in Java, from my ASP.NET 1.1 Application. When I call the method of the service, the app shows an error about the proxy, then I create a proxy object and asign the credentials to it, but when I try the request, I get an error like:

Unable to connect

Should I use WSE?

Please some one help me. Thanks for your time.

ps. sorry about my english, it's not my language

هل كانت مفيدة؟

المحلول

WS-Security is large specification with a lot of related specifications. You must know what exactly do you need. .NET 1.1 has no support for WS-Security. Some support can be added by WSE but there is very big chance that it will simply not cover features you need.

In the worst case you will have to implement part of that specifications by yourselves through custom SOAP Headers and SOAP Extensions or you will have to upgrade to newer .NET version supporting WCF and hope that WCF feature set contains features you need.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top