From: <ro...@e-...> - 2001-10-21 14:51:24
|
I am using XML-RPC for applet --> web-server communication and encountered the following problem: XML-RPC uses hash codes to identify object types (see comment at XmlRpcParser and also XmlRpcValue), the problem is that hash-code for classes is not the same for different JRE versions so in case the server and client run on different JRE versions this identifying mechanism is broken. My implementation uses JRE 1.2 or 1.3 for the server side and JRE 1.1 (Netscape or IE VM) for client side. One possible solution is to replace the integer based id by a string based id (replacing the case statement in XmlRpcValue.processCharacterData() by an if / else series). Ron Stern ro...@e-... |