Web Services Error message

  • Thread starter Thread starter Geoff
  • Start date Start date
G

Geoff

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...
 
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.
--------------------
From: "Geoff" <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
Subject: Web Services Error message
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <[email protected]>
Date: Thu, 07 Oct 2004 16:43:07 GMT
NNTP-Posting-Host: 216.135.187.132
X-Complaints-To: (e-mail address removed)
X-Trace: newsread1.news.pas.earthlink.net 1097167387 216.135.187.132
(Thu, 07 Oct 2004 09:43:07 PDT)
 
What would be the easiest way to convert my Web Service? Or what should I be
looking into?

"Ilya Tumanov [MS]" said:
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.
--------------------
From: "Geoff" <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
Subject: Web Services Error message
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <[email protected]>
Date: Thu, 07 Oct 2004 16:43:07 GMT
NNTP-Posting-Host: 216.135.187.132
X-Complaints-To: (e-mail address removed)
X-Trace: newsread1.news.pas.earthlink.net 1097167387 216.135.187.132
(Thu, 07 Oct 2004 09:43:07 PDT)
NNTP-Posting-Date: Thu, 07 Oct 2004 09:43:07 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net
!newsread1.news.pas.earthlink.net.POSTED!5d121092!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.compactframework:62746
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

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...
 
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.
--------------------
From: "Geoff" <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
References: <[email protected]>
Subject: Re: Web Services Error message
Lines: 66
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <[email protected]>
Date: Thu, 07 Oct 2004 18:07:17 GMT
NNTP-Posting-Host: 216.135.187.132
X-Complaints-To: (e-mail address removed)
X-Trace: newsread1.news.pas.earthlink.net 1097172437 216.135.187.132
(Thu, 07 Oct 2004 11:07:17 PDT)
NNTP-Posting-Date: Thu, 07 Oct 2004 11:07:17 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Path: 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
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.compactframework:62755
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

What would be the easiest way to convert my Web Service? Or what should I be
looking into?

"Ilya Tumanov [MS]" said:
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.
--------------------
From: "Geoff" <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
Subject: Web Services Error message
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <[email protected]>
Date: Thu, 07 Oct 2004 16:43:07 GMT
NNTP-Posting-Host: 216.135.187.132
X-Complaints-To: (e-mail address removed)
X-Trace: newsread1.news.pas.earthlink.net 1097167387 216.135.187.132
(Thu, 07 Oct 2004 09:43:07 PDT)
NNTP-Posting-Date: Thu, 07 Oct 2004 09:43:07 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net try
 
Back
Top