vb.netwsewse2.0

Using SOAPContext in Visual Studio vb.net


I'm working on a form and need to use SOAPContext and DimeAttatchment. Neither classes are recognized. I tried adding 'Imports Microsoft.Web.Services2' but I get a green line and the package does not seem to be recognized. How do I get soapcontext and dimeattatchment to work?


Solution

  • Those classes are from the Web Services Enhancements, which was a downloadable add-on for Visual Studio 2005 and .NET framework 2.0. As such, it is not supported in higher versions of Visual Studio. Instead it has been superseded by WCF. There are workarounds to get it to work in later versions of Visual Studio.