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

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.
 
A

Alex Feinman [MVP]

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.
 
I

Ilya Tumanov [MS]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top