Groups | Blog | Home
all groups > dotnet compact framework > october 2004 >

dotnet compact framework : Web Services Error message


Geoff
10/7/2004 4:43:07 PM
When adding a web services reference to my first CF application and try to
rebuild I get the following errors.
I can invoke the Web Service just fine and this method has always worked
well in the .Net Framework.

Errors:
Type 'Serializable' is not defined.
Type 'System.ComponentModel.ToolboxItem' is not defined.
Type 'SerializationInfo' is not defined.
Type 'StreamingContext' is not defined.
etc...


ilyatum NO[at]SPAM online.microsoft.com (
10/7/2004 5:32:45 PM
This code was generated for desktop framework and won't compile on CF.
This might be because your WS returns a typed DataSet and typed DataSet's
are not supported on CF.
You can convert your WS to return type(s) supported on CF.
Alternatively, you can alter the proxy class manually so it would compile
on CF.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view]
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!newsfeed-east.nntpserver.com!nntps
erver.com!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net
!newsread1.news.pas.earthlink.net.POSTED!5d121092!not-for-mail
[quoted text, click to view]
Geoff
10/7/2004 6:07:17 PM
What would be the easiest way to convert my Web Service? Or what should I be
looking into?

[quoted text, click to view]

ilyatum NO[at]SPAM online.microsoft.com (
10/7/2004 6:18:00 PM
Before I give any recommendations, I'd like to know more about this WS.
Are you using typed DataSet or is it something else?

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view]
cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwi
x.com!newsfeed.cwix.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news
hub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.
net!newsread1.news.pas.earthlink.net.POSTED!5d121092!not-for-mail
[quoted text, click to view]
AddThis Social Bookmark Button