WebService client

  • Thread starter Thread starter Maxim
  • Start date Start date
M

Maxim

Hello, everybody!

I'm trying to implement a WS client for PDA in CF2. I downloaded wsdl-file,
created proxy class in c# by means of wsdl.exe(v2.0.50727.42). Attached the
proxy class to a simple one-form project for PocketPC. Tried to build the
project and got 6 compiler errors. The following classes were not found:
AsyncCompletedEventArgs
SendOrPostCallback
SerializableAttribute

Then I searched MSDN for class AsyncCompletedEventArgs. MSDN claims that
this class is supported in .NET Framework 2.0 only. CF Framework is not in
the list.

Then I tried to create proxy class using wsdl.exe from VS2003
(v1.1.4322.573). Replaced it in the project and it was built without any
errors/warnings.

So what should I do to create a WS client? I would like to use CF2.0. What
version of wsdl.exe should I use? Probably I should use some commandline
options to target proxy class to CF Framework. I could find those on help.

Thanks in advance.
 
Why don't you use the Add web reference menu form a VS 2005 Smart device
project ?

Steve
 
Thanks, Steve. I wasn't aware of this possibility.
But still is there any command line tool for generating proxy class from
wsdl for CF?
 
Back
Top