troubleshooting Question

WSe 3.0 VS 2008

Avatar of NTGuru705
NTGuru705Flag for United States of America asked on
.NET Programming
1 Comment1 Solution478 ViewsLast Modified:
Trying to build a console application using in Visual Studio 2008 that connects to a webservice that requires the use of WSE 3.0.

I can add the references to the webservice in the UI but there is a missing component that I need here...

the .setPolicy method is not present on my web reference objects.
I have seen a few ways to get around this but this code does not work at the moment..

assertion = New UsernameOverTransportAssertion
TokenProvider = New UsernameTokenProvider(_qcIdentity, _qcPassword)
assertion.UsernameTokenProvider = TokenProvider
policy = New Policy

When I was working this in VS 2005 it would work fine but not now.

It has been proposed that I build a proxy class in VS2005 and add a reference to that dll - I have tried that but when I do that the methods are still missing. Can someone help me understand how I can make use of this web service without a ton mile of new technologies to learn?

I really just need the app to complile in Visual Studio 2008 and I have no problem building the proxy class in 05 if there is a valid solution to how to make this work.

Thank you in advance for your help - it is greatly appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros