WorkList and WorkListitem not serializable
+1
I'm currently working on an N-Tier ditributed application that has:
A SmartClient deployed via ClickOnce
It's own Business Logic layer
and is going to be using K2 BlackPearl to control workflow.
As part of the prototyping process I am trying to write a business object that retrieves a user's WorkList and then returns it to the smart client for the user to see. The call into my business object is being done across the wire via WCF service that can transfer any serializable object. When I went to go run my code I discovered that the WorkList and WorkListItem classes are not marked with the Seriializable attribute and thus I am unable to transfer them across the wire. Does any know the reasons for this and is there some sort of alternative object or code on the black market that would accomplish the same thing.
Thanks in advance
A SmartClient deployed via ClickOnce
It's own Business Logic layer
and is going to be using K2 BlackPearl to control workflow.
As part of the prototyping process I am trying to write a business object that retrieves a user's WorkList and then returns it to the smart client for the user to see. The call into my business object is being done across the wire via WCF service that can transfer any serializable object. When I went to go run my code I discovered that the WorkList and WorkListItem classes are not marked with the Seriializable attribute and thus I am unable to transfer them across the wire. Does any know the reasons for this and is there some sort of alternative object or code on the black market that would accomplish the same thing.
Thanks in advance
Hey cunningham74
Also stuck on the same issue. Wanted to know if you had found some resolution here?
For now, I've created [serializable] objects to collect pertinent data from the WorkListItem etc and passed those over the wire to my smart client. I'm not sure of another way at present.
Cheers
+9
A custom class that contains the pertinent worklist item data and can be serialized is the way to do it.
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.