|
-
October 15th, 2008, 09:04 AM
#1
VS 2008 WebService Proxy classes in MFC project using VC++6.0
Hi I have a Web Service developed in VS 2008 using C#.
I have a MFC project developed using VS 6.0.
I want to call the Web service in MFC project.
For this , To create proxy classes of web service , I used the following command in commandprompt.
sproxy http://localhost:3748/Kiran.asmx
but this command throws error which says
http://localhost:3748/Kiran.asmx(3,7) : error SDL1005 : unrecognized tag, with
[
namespace = ""
tag = "html"
]
sproxy : error SDL1031 : failure in processing discomap file: "http://localhost:
3748/Kiran.asmx".
How should i resolve this?
How Can I create proxy classes in VC++ 6.0
(I know in VS2005 there is option for Add Web Reference but i dont find any option in 6.0)
Thanks for the help
Kiran
-
October 15th, 2008, 09:07 AM
#2
Re: VS 2008 WebService Proxy classes in MFC project using VC++6.0
VC++ 6.0 does not have the (direct) support for web services at all. You need to code (or acquire) a complete library for handling all of the operations, it is NOT as simple of a matter as just creating proxy classes and using them.
Your best bet would be up upgrade your 6.0 (which is obsolete, non-compliant with the standard, and totally out of support) to the latest version (9.0) and proceeding from there.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
October 15th, 2008, 09:15 AM
#3
Re: VS 2008 WebService Proxy classes in MFC project using VC++6.0
Hi,
Thanks for the reply.
My VC++ project is a big application and I cannot upgrade it.
Is there any solution of calling the webservice from this VC++ project.
Please let me know.
Thanks very much
Kiran
-
October 15th, 2008, 10:24 AM
#4
Re: VS 2008 WebService Proxy classes in MFC project using VC++6.0
"Can't" is such a negative word...."Not allowed", "Dont have time", "Dont want to"... are usually more accurate.
The best alternative I can give you is to create a VS-2008 assembly that exposes the functionallity as COM components, then use the COM wrappers from within your ancient application.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
October 15th, 2008, 11:14 AM
#5
Re: VS 2008 WebService Proxy classes in MFC project using VC++6.0
Yeah,
Its actually "Not allowed ".
Thanks for your reply
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|