Just a warning to anyone using Web Services w/ .NET 4+

.NET 4 / Visual Studio 10 users --> DO NOT reference the web services as Service References (WCF). They are accepted, but don't bring in all the necessary pieces.

The Visual Studio 10 interface doesn't help because they took out the context sensitive option to 'Add Web Service' (only 'Service Reference').

You can get to it by selecting 'Add Service Reference'. Then select 'Advanced' and then 'Add Reference' at the bottom.

Comments

  • Thank you,

    This is a useful tip... I have wasted valuable hours on it.
    appreciate your suggestion.

    Shashanka
Sign In or Register to comment.