This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes How to deserialize object send from .NET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "How to deserialize object send from .NET" Watch "How to deserialize object send from .NET" New topic
Author

How to deserialize object send from .NET

Gurumoorthy Doraiswamy
Greenhorn

Joined: Jan 15, 2013
Posts: 21
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

Joined: Jan 15, 2013
Posts: 21
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
Marshal

Joined: Mar 22, 2005
Posts: 41123
    
  45
Post the XML you're working with.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to deserialize object send from .NET
 
Similar Threads
Add new shapes in slides using serialization
Action Class
how to calculate the Size of data stored in session
Interoperability
content not allowed in prolog exception