This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 41092
    
  44
Post the XML you're working with.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
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