TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
anjag
NA
1
0
Communication over xml between java and c#
Jul 13 2004 12:28 PM
Hello, I thought of using an existing java program about sockets. In the java code, the existing object is serialized in XML by the java XMLDecoder. Then it is send over the socket to my C# programm. But if I want to Deserialize it in the given way, I get an error, which says that C# can't parse the xmlStream: "Parse Error, no assembly associated with Xml key java" TcpClient tcpClient = new TcpClient(TAPAS_HOST, TAPAS_SPCH_PORT); NetworkStream reciverStream = tcpClient.GetStream(); StreamWriter writer = new StreamWriter(reciverStream); writer.WriteLine(hypo); writer.Flush(); StreamReader reader = new StreamReader(reciverStream); SoapFormatter sread = new SoapFormatter(); WebResponse result = (WebResponse)sread.Deserialize(reader.BaseStream); writer.Close(); reader.Close(); Is there an easy possebility to get C# to parse the java serialized object? Thanks Anja
Reply
Answers (
0
)
Display the value in richtextbox base on two textbox values
Insert DateTime in a field