views:

32

answers:

1

Hello, I try to compile with VS 2008 old C# Service project based on WSE where DIME attachments are used:

The compiler does not find: using Microsoft.Web.Services.Dime

I just installed WSE 3.0. Even that does not help to find Microsoft.Web. What is the replacement for DimeAttachment class?

thanks Arman

EDIT

Well the answer what I marked as a answer is not really related to my problem but the comments were putting me in to right way.

I just learn from http://msdn.microsoft.com/en-us/library/aa529283.aspx that WSE3 handles attachments differ and I just migrated few lines to WSE3 and code is running.

+1  A: 

Is the required DLL physically present on your disk? If so, remove the reference and re-add it by selecting the DLL that you know is there. If that works, sounds like the original referenced version just could not be located and your ReferencePath needs fixing.

Steve Townsend
Yes the problem was simply to add correct WSE version.I use now WSE2. It compiles but it asks now for missing HttpSoapContext Where is it?
Arman
@Arman - 'In WSE 2.0, however, the HttpSoapContext class has been marked obsolete because the object model has evolved to the point that SoapContext can be used over other protocols in addition to HTTP. Hence, in WSE 2.0 HttpSoapContext has been removed and two new classes named RequestSoapContext and ResponseSoapContext have been added. Each class has a static Current property for retrieving the current SoapContext object as shown in the bottom of Figure 3.' See http://msdn.microsoft.com/en-us/magazine/cc163942.aspx for details.
Steve Townsend
nice I migrated few lines to WSE3 following: http://msdn.microsoft.com/en-us/library/aa529283.aspx and my code is compiles!!!
Arman