generate proxy for WebService
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.sdk.

Post a new message to this list...

Caprar Cristian Ionut
Hi.

I am trying to generate the proxy .h file for my C++ client of a web
service. I see that the WSDL tool is not doing that for C++, only for c#, VB
and jScript. Is there a way to do it without using the GUI Add Web Reference
(which is not working for me)?

Thanks,
Cri

Reply to this message...
 
    
Jun Su
Hi,

My name is Jun Su. Thank you for using Microsoft Community Support.

WSDL.EXE has a following parameter:
/language:<language>
The language to use for the generated proxy class. Choose from 'CS',
'VB', 'JS' or provide a fully-qualified name for a class implementing
System.CodeDom.Compiler.CodeDomProvider. The default is 'CS' (CSharp).
Short form is '/l:'.

I hope this helps. If you have any questions, please reply to this post.

Best Regards,

Jun Su
Microsoft Support

---
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. Copy Right, 2001 Microsoft Corporation.
All rights reserved.

--------------------
From: "Caprar Cristian Ionut" <Click here to reveal e-mail address>
Subject: generate proxy for WebService
Date: Fri, 19 Oct 2001 09:50:11 +0200

Hi.

I am trying to generate the proxy .h file for my C++ client of a web
service. I see that the WSDL tool is not doing that for C++, only for c#, VB
and jScript. Is there a way to do it without using the GUI Add Web Reference
(which is not working for me)?

Thanks,
Cri

Reply to this message...
 
    
Caprar Cristian Ionut
Hi.

Thanks for your answer, but my question was how to generate the proxy in
managed C++, which is not one of the options you mentioned.

Of course, I could as well generate the proxy in C# and use it in my managed
C++ application. But I would like the proxy in C++ also.

Any way to do this?

Thans,
Cri

Reply to this message...
 
    
Jun Su
Hi,

Based on my knowledge, WSDL need a CodeDom class to generate a source. In
Managed C++ Porject, IDE use WSDL to generate C# source file then compile
it to dll. If you look at the .h file, you may find there are only several
#using statements.

If you want to generate MC source, you need a class implementing
System.CodeDom.Compiler.CodeDomProvider.

I hope this helps. If you have any questions, please reply to this post.

Best Regards,

Jun Su
Microsoft Support

---
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. Copy Right, 2001 Microsoft Corporation.
All rights reserved.

--------------------
From: "Caprar Cristian Ionut" <Click here to reveal e-mail address>
References: <O0vI9pGWBHA.1544@tkmsftngp05>
<Umjwq$Click here to reveal e-mail address>
Subject: Re: generate proxy for WebService
Date: Tue, 30 Oct 2001 22:04:41 +0200
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <uJgRmmRYBHA.1528@tkmsftngp05>
Newsgroups: microsoft.public.dotnet.framework.sdk
NNTP-Posting-Host: www.iquestint.com 212.93.140.74
Path: cppssbbsa01.microsoft.com!tkmsftngp01!tkmsftngp05
Xref: cppssbbsa01.microsoft.com microsoft.public.dotnet.framework.sdk:1501
X-Tomcat-NG: microsoft.public.dotnet.framework.sdk

Hi.

Thanks for your answer, but my question was how to generate the proxy in
managed C++, which is not one of the options you mentioned.

Of course, I could as well generate the proxy in C# and use it in my managed
C++ application. But I would like the proxy in C++ also.

Any way to do this?

Thans,
Cri

Reply to this message...
 
 
System.CodeDom.Compiler.CodeDomProvider
System.Web.Services.WebService




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com