Recently i needed to do so maintenance on some legacy code. The project is a webservice which uses wse 2.0. The code consuming the webservice reads the ResponseSoapContext property on the service, except that this is not available so i can't compile the
code. The Microsoft.Web.Services2 dll is referenced in the project.
Any idea what i should do to make the code compile?
"If it ain't broke, don't fix it" is often true. But you've just had to maintain this code, which means "it's broke". WSE 2.0 is very obsolete. I strongly recommend that you at least upgrade to WSE 3.0, which will at least have minimal support for another
year or so.
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service Projects