Click here to Skip to main content
15,902,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm trying to pass data between two softwares, one is running on a PC and the other is on a smart device.

The obvious way is to pass data is by serialization. The compact framework doesn't support binary serialization, so I have to use XML.

When I create a schema, some of the lines point to a specified path in the program for the DataType (like namespace.someclass...)

example...
xs:element name="c" msdata:DataType="<big>Serializetest.base0, Serializetest</big>, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" type="xs:anyType" minOccurs="0" 


When I'm trying to open the schema on a smart device, I'm getting an error, because the I use different namespace.

I could use same namespace... but there should be a better way.
Posted

1 solution

Remember one thing you can serialize either basic type or complex custom types which has its serialization.

If you have a reference to one dll, you also need to serialize the dll and send to the client.

;)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900