Serialization is different in Debug and Release mode

xdarealstkillax

New Member
Our .NET 4 application consuming an external .NET webservice and everything worked fine in debug mode but in release mode we got a serialization error. Checked the SOAP request that was sent to service and found some differences in one of the elementSOAP Element in Debug mode\[code\] <Key>pswhistory</Key> <Value xsi:type="ArrayOfString"> <string>a</string> <string>B</string> </Value>\[/code\]Soap Element in Release mode\[code\] <Key>pswhistory</Key> <Value xmlns:q1="http://tempuri.org/" xsi:type="q1:ArrayOfString"> <q1:string>a</q1:string> <q1:string>B</q1:string> </Value>\[/code\]Can somebody explain this behaviour with XMLSerializer?Thanks
 
Back
Top