• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to deserialize object send from .NET

 
Gurumoorthy Doraiswamy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am using .NET UDP server and java UDP client. i am converting the class to xml bytes as below in .NET how should i deserialize it java. Do we have any option like canDeserialize


I am trying to use Simple XML in Java. Please help its very urgent.
 
Gurumoorthy Doraiswamy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also tried with java serialization as below


JAVA


.NET

[Added code tags - see UseCodeTags for details]
But i receive the below error "Invalid character in the given encoding. Line 1, position 1."

Can any one let me know where it is wrong . Its really urgent. Help

 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the XML you're working with.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic