all groups > dotnet web services > october 2006 >
You're in the

dotnet web services

group:

Compact framework woes



Compact framework woes Simon D
10/27/2006 8:51:14 PM
dotnet web services: I've managed to create a desktop app (in vs2005) using .net that accesses a
web service.

However porting to the compact framework is a failure, because the
response(s) to the proxy class calls are not constructed properly. The
service uses a session token that is in a member object of the returned
structure. wsdl.exe makes this object a base class (in .net and .netcf) but
in the cf app, it shows as null, but other members of the response suggest a
successful call (to a login attempt). Without the session token I am unable
to continue, and if I were able to continue, I suspect similar errrors
again.

I cannot seem to google my way out of this :-( I was under the impression
that .netcf was great at consuming web services, but it isn't here.

Any suggestions on how I workaround this problem, or perhaps modify the
generated code from wsdl.exe?

Simon.

RE: Compact framework woes Stonie
11/19/2006 11:30:19 PM

[quoted text, click to view]


Basicly all your async stuff wont work with the compact framwork. you need to hack away at the proxy.

See here:

http://msdn2.microsoft.com/en-us/library/ms229663.aspx

AddThis Social Bookmark Button