Sanitizing incoming XML via WCF
Posted
by Clark
on Stack Overflow
See other posts from Stack Overflow
or by Clark
Published on 2010-04-27T16:50:06Z
Indexed on
2010/04/27
16:53 UTC
Read the original article
Hit count: 475
I am consuming a Java webservice from .net using WCF.
I am getting an error on deserialization of a response from the Java service
The byte 0x00 is not valid at this location. Line 1, position 725.
I know from some research that this is an incorrectly encoded null, but I am unlikely to get the provider to change it, so I would like to sanitize the null out before WCF deserializes the return message.
Any Ideas?
I am using c#, but answers in any CLR language will do.
© Stack Overflow or respective owner