Can i pass DataSet from WebService to Mobile Device and insert XSD into new DataSet on mobile device

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to pass DataSet from WebService to Mobile Device and insert XSD-schema into new DataSet on mobile device (powered by WinCE.NET 4.1 + compact FrameWork) and a catch PlatformNotSupported exception when i read XSD into new dataset on device (code string : newdataset.readXml(xmltextreader, xmlreadmode.readschema, null)). Why?
Dataset contains base64binary array in one of the fields of dataset (image, stored in SqlServer) and text field.
 
Do you really need to pass the schema with dataset? Usually web service
proxy on CF deals with datasets returned by the web service without a need
for a schema. SInce your dataset is simple enough, the perfomance penalty
fro rebuilding the schema should not be too bad

--
Alex Feinman
---
Visit http://www.opennetcf.org
Magic said:
I'm trying to pass DataSet from WebService to Mobile Device and insert
XSD-schema into new DataSet on mobile device (powered by WinCE.NET 4.1 +
compact FrameWork) and a catch PlatformNotSupported exception when i read
XSD into new dataset on device (code string :
newdataset.readXml(xmltextreader, xmlreadmode.readschema, null)). Why?
Dataset contains base64binary array in one of the fields of dataset
(image, stored in SqlServer) and text field.
 
Yes, you can pass DataSet from/to WebService.
PlatformNotSupported means the DataSet you're passing has a locale which is
not supported on your device.

Please see this for more details:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=0CI1VaYIEHA.420@cp
msftngxa06.phx.gbl

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: Can i pass DataSet from WebService to Mobile Device and
insert XSD into new DataSet on mobile device (powered by WinCE.NET 4.1 +
compact FrameWork)?
thread-index: AcQ+bU3Jw42V5+sgRo+JCixXnuoWKg==
X-WN-Post: microsoft.public.dotnet.framework.compactframework
From: "=?Utf-8?B?TWFnaWM=?=" <[email protected]>
Subject: Can i pass DataSet from WebService to Mobile Device and insert
XSD into new DataSet on mobile device (powered by WinCE.NET 4.1 + compact
FrameWork)?
Date: Thu, 20 May 2004 06:21:05 -0700
Lines: 2
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.compactframework
Path: cpmsftngxa10.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.compactframework:53606
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

I'm trying to pass DataSet from WebService to Mobile Device and insert
XSD-schema into new DataSet on mobile device (powered by WinCE.NET 4.1 +
compact FrameWork) and a catch PlatformNotSupported exception when i read
XSD into new dataset on device (code string :
newdataset.readXml(xmltextreader, xmlreadmode.readschema, null)). Why?
Dataset contains base64binary array in one of the fields of dataset (image,
stored in SqlServer) and text field.
 
Back
Top