SetClientCredential visible in vs.net 2005 but not 2008
-
20-08-2019 - |
Question
I add a web reference to my wse 3.0 service in Visual Studio 2005 and my intellisense shows the name of my service like MyServiceWse
(it adds the WSE extension to the name).
I also have access to SetClientCredentials()
where I pass in my UsernameToken
, everything works fine.
In Visual Studio 2008 I don't have the proxy class with MyServiceWse
, I have MyService
only, so I don't have access to SetClientCredentials()
etc.
What is going on?
Solution
Last I read, WSE support is not directly available in VS 2008. There are some manual techniques in the link below which you can try out. I am also waiting for a better solution.
OTHER TIPS
WCF would be a better solution than WSE. WSE is obsolete, and has been replaced by WCF.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow