Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to add a Web reference in VS 2010. I have figured out that I have to add it as a Service Reference. However, initializing it and consuming doesn't seem to work the way I did it in previous versions. Has any one else had this problem?
Posted
Comments
Sandeep Mewara 13-Jul-10 10:36am    
Well, updating the question with your 'trouble' or 'error' would help others to respond more accurately.

1 solution

When you add a service reference, click on "Advanced", then click Web References in Compatibility.

Cheers.
 
Share this answer
 
Comments
loganj1999 13-Jul-10 11:46am    
It worked great! Thanks!
loganj1999 13-Jul-10 11:46am    
Reason for my vote of 5
Worked great. Just what I was looking for.
TheyCallMeMrJames 13-Jul-10 12:35pm    
I will say this, though...it's a good time to start learning to use the Client that is generated from the Service Reference instead. The fact that objects are in the same namespace on both ends of the wire was enough for me to switch. Cheers.
Nish Nishant 13-Jul-10 15:51pm    
Reason for my vote of 5
Worth a 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900