aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 39577
    
  27
Post the XML you're working with.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to deserialize object send from .NET
 
Similar Threads
Interoperability
Add new shapes in slides using serialization
Action Class
content not allowed in prolog exception
how to calculate the Size of data stored in session