[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

WSe 3.0 VS 2008

Posted on 2009-12-18
1
Medium Priority
?
443 Views
Last Modified: 2013-11-26
Trying to build a console application using vb.net 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
policy.Assertions.Add(assertion)
qtWS.setPolicy(policy)
tmWS.SetPolicy(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.
0
Comment
Question by:NTGuru705
1 Comment
 
LVL 1

Accepted Solution

by:
NTGuru705 earned 0 total points
ID: 26084097
I suppose the policy could be set in an override in the new routine (of the proxy classes) though I am a bit unsure how that would work and still expose the methods without overriding every web method in the proxy class.

Thanks
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question