开发者

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 w开发者_如何学运维ith 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?

  • GSoap, requires a license for commercial development
  • Qt SOAP, is a partial implementation of SOAP v1.1
  • Windows Web Services API, works only on Windows 7


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜