简体   繁体   中英

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?

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.

I think you need to install the SOAP Toolkit. http://www.microsoft.com/download/en/details.aspx?id=19135

However this was deprecated 7 years ago, is this still the best solution for your project?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM