Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2005

Tip: Looking for answers? Try searching our database.

Cannot access the SetPolicy or SetClientCredential Methods!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 07 Dec 2005 21:50 GMT
Hello,

I am working on a windows client that accesses some web services, on vs2005
TeamSystem, i installed wse 3 and made the basic configurations under
enabling wse through the wizard and created server and client policy through
the wizard for both sides. I am using the usernameWithx509 scenario based
upon the quickstart version. However when i come to the line where i try to
call SetClientCredential or SetPolicy intellisense does not pick up the
methods, neither can i declare the policy through a partial class, because i
get an error saying the proxy is not of type ...soaphttpprotocol or something
like that, which i know is why i can't see those methods either. But i am
still stuck, can anyone give me some ideas please, thank you.
Best Regards,
John
John - 08 Dec 2005 15:04 GMT
Hello All, Well i solved it, i didn't realise that the wse tool actually
created another class with "Wse" at the end, so the service class became
ServiceWse, and this class included the SoapProtocol methods
setClientCredential and setPolicy. Cool!!
Over and out,
John

> Hello,
>
[quoted text clipped - 10 lines]
> Best Regards,
> John

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.