简体   繁体   中英

sproxy for vs2008?

I'm trying to create WCF proxy in unmanaged C++ (No .NET framework is installed on the client).

I've found the website "http://icoder.wordpress.com/2007/07/25/consuming-a-wcf-service-with-an-unmanaged-c-client-with-credential-passing/" which teaches how to generate such a proxy.

The problem is that I've found the sproxy.exe only in VS 2003, and not in 2008.

When I'm creating proxy with this VS 2003 tool, I can compile it with VS 2003, but when I'm trying to compile the generated file using VS 2008, it gets the error: "fatal error C1083: Cannot open include file: 'atlsoap.h': No such file or directory".

What can I do?

Thanks,

Mattan

ATL Server was (re)moved from ATL in Visual Studio 2008 to codeplex , where it has found its resting place.

Can you use Visual Studio 2005?

Alternatives?

the other solution is to create a managed proxy with svcutil , and use C++\\CLI to communicate between native C++ and the managed proxy.

This solution works with all wcf bindings.

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