C
Chris Newby
Given:
public class MyClass{
public String MyPropertyOne;
}
I have a soap document created by serializing an instance of a previous
version of MyClass. However, now MyClass looks like:
public class MyClass{
public String MyPropertyOne;
public String MyPropertyTwo;
}
If I now use the SoapFormatter to deserialize the older instance of MyClass,
I get an exception that looks like:
"Wrong number of Members. Object MyClass has 2 members, number of members
deserialized is 1"
I would like the older instance to continue deserializing, even though it
might not be "binary compatible". Is there an easy way to do this?
TIA//
public class MyClass{
public String MyPropertyOne;
}
I have a soap document created by serializing an instance of a previous
version of MyClass. However, now MyClass looks like:
public class MyClass{
public String MyPropertyOne;
public String MyPropertyTwo;
}
If I now use the SoapFormatter to deserialize the older instance of MyClass,
I get an exception that looks like:
"Wrong number of Members. Object MyClass has 2 members, number of members
deserialized is 1"
I would like the older instance to continue deserializing, even though it
might not be "binary compatible". Is there an easy way to do this?
TIA//