|
| Re: unmarshalling issue (different java versions) [message #1124446 is a reply to message #1123425] |
Thu, 03 October 2013 10:44  |
Judith Gull Messages: 33 Registered: February 2010 |
Member |
|
|
Hi
I have not heard of this problem yet. You can influence serialization/deserialization in the service tunnel with an IObjectReplacer. (see org.eclipse.scout.rt.shared.servicetunnel.ServiceTunnelObjectReplacer). Then you can create your own ServiceTunnelContentHandler instead of DefaultServiceTunnelContentHandler and overwrite createObjectSerializer with your new replacer.
In the client you set the content handler when the session is loaded
@Override
public void execLoadSession() throws ProcessingException {
HttpServiceTunnel tunnel = new HttpServiceTunnel(this, getBundle().getBundleContext().getProperty("server.url"));
tunnel.setContentHandler(new MyServiceTunnelContentHandler());
setServiceTunnel(tunnel);
and in the server you can set your own ServiceTunnelServlet with that content handler and register it in the plugin.xml.
I hope this helps. Please give us feedback, if you can solve this problem or ask again, if you need more help! Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.01399 seconds