Groups > Asp .Net > ASP.NET XML Web Services > Re: Proxy Class Language and consuming web services..




Proxy Class Language and consuming web services..

Proxy Class Language and consuming web services..
Wed, 2 Apr 2008 11:47:38 +0000
Cant we have C++ as the language to build the proxy class??

Also please tell me how to consume the web service in a windows client
application..

I think there are two methods..

1. Using the wsdl.exe tool  -   From the wsdl tool I am able to generate the
assembly but am confused what to do with the dll in my VC++ client
application..How to call the web service ..from my VC++ windows application???

2. Through Visual Studio adding web reference - I dont know much about this..
Could someone help me on this?
Post Reply
Re: Proxy Class Language and consuming web services..
Thu, 3 Apr 2008 16:09:48 +0000
I assume you mean the C++ the compiles to .NET  MSIL? Because I am not sure if
proxy class generation (or web service tools) for regular old C++ is supported.


Anyway, in that case (MSIL), (depending upon the version of the framework and
wsdl.exe), you'll get a local proxy class which you can just use in your C++ app
and link it with the library (dll) you generated with wsdl.exe (which would mean
creating a "reference" in your project if you're using Visual
Studio).

 

The other (far simpler) method would be to just create a "web
reference" in Visual Studio (I'm not sure if this option is available in
C++ projects or whether it generates the proxy class in C++).

 

EDIT: Or if you're using regular C++, this is the first result on google for a
C++ web service client library: http://wsdlpull.sourceforge.net/
Post Reply
about | contact