By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,797 Members | 1,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,797 IT Pros & Developers. It's quick & easy.

Severe limitiation with VC++ WebSvcs

P: n/a
When starting with a Managed Visual C++ application, and
attempting to consume an existing Web Service, and adding
a Web Service Proxy file as a [web service name].h file,
it is not possible to successfully build the managed
application using the generated [web service name].h file.

When I build the file, I get the following error message:
error C2248: 'ATL::CSoapFault::_faultcode' : cannot
access private struct declared in class 'ATL::CSoapFault'

the ATL::SoapFault class and code are all inside of
AtlSoap.h which gets included by [web service name].h

Anyone who would like to rely on the [web service name].h
file and the base classes defined within the generated
file, will not have the ability to call methods such as
CSoapSocketClient::SetUrl (a very handy method I might

Am I missing something, or is this a severe limitation
with a managed application attempting to consume a Web
Service? Or, is there a way of calling SetUrl in a
managed application?
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.