[Mono-list] Deserialization issue when talking to webservice from mono

Rob Weiss rweiss at chesapeakebay.net
Wed Feb 11 08:19:31 EST 2009


I have an app(Client compiled as 32 bit mode) on a RHEL mono box talking to a
win-32 webservice(Server compiled as 32 bit mode) on another machine. I can
do the initial calls to the servie fine and without issue. When I serialize
data on the RHEL mono machine and send it over to the win-32 machine and
deserialize it, the win-32 box throws an error:

Error message: The Job Control Web Service threw an exception executing
ProcessInstructions()

Unable to load type System.Collections.Generic.SortedList`2[[System.Int32,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089],[JobControl.Instructions.Instruction,
JobControl.Instructions, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null]] required for deserialization.

HOWEVER, when running the same app - the Client -  on another win-32
workstation talking to the webservice (same server), It works fine. I know
that all of the libraries needed to run the service are there as this is a
production server and has no issues responding to the same app when it is
not running on RHEL mono.

I ran MoMA on the Client app and the Server app and get no problems
reported.

Could it be a Binary Serialization issue between the machines? 

Thoughts?


-- 
View this message in context: http://www.nabble.com/Deserialization-issue-when-talking-to-webservice-from-mono-tp21954562p21954562.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list