Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Microsoft.Web.Services3 available for VS2010

I am using VS2010 and I am making a call to a vendor's web service, which they use WSE i web services. I can not find in "Add references" to add the namespace/dll. It works when i created a project in VS2005. I Found this blog and it indicated on how to get it recognized. http://www.junasoftware.com/blog/how-to-use-wse-3-in-visual-studio-2010.aspx but after trying that it still doesn't work for me. Anyone have any ideas for me?

Thanks, Marios

like image 994
greektreat Avatar asked Nov 12 '10 16:11

greektreat


4 Answers

I solved this problem by downloading the WSE Runtime from here

like image 126
dandax Avatar answered Oct 04 '22 05:10

dandax


The way to fix this is to generate the Webservice in Visual Studio 2005 then copy the code into just a class in VS2010 and use it as a class instead as a Webservice. It's not the best wey for keeping things standard but it works flawlessly!

like image 24
greektreat Avatar answered Oct 03 '22 05:10

greektreat


For me, even after adding the reference to the local copy of Microsoft.Web.Service3.dll, I still had to change the project to be geared for .NET 4.0 and not .NET 4.0 Client.

Microsoft.Web.Service3.dll has a dependency on System.Web, which doesn't exist in the .NET 4.0 Client, but does in .NET 4.0.

This factoid was noted in the Error List, in the Warnings. Only the fact that the Microsoft.Web namescape could not be found was in the Errors.

-Jesse

like image 33
Jesse Chisholm Avatar answered Oct 02 '22 05:10

Jesse Chisholm


I ran into the same problem when used SAP Business object dlls. I installed WSE from (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=018a09fd-3a74-43c5-8ec1-8d789091255d&displaylang=en) and added reference to my project. It solved the issue

like image 40
Tech Wizard Avatar answered Oct 04 '22 05:10

Tech Wizard