Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » services fail with same method names
services fail with same method names [message #912490] Thu, 13 September 2012 16:55
Flavio Donze is currently offline Flavio DonzeFriend
Messages: 202
Registered: July 2009
Location: Switzerland
Senior Member

I have a problem which is bothering me for quite a while.
If I create a service which has two methods with the same name, I can not connect to the service, even if it has a different amount of parameters or different parameters.
To make sure it is not a problem from our environment I tested it with the PingPong example.
I added another
Pong ping(String ping);
to the interface and I get the following exception as a result.

com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8080/hessian/PingPongWS
at com.caucho.hessian.client.HessianProxy.invoke(
at $ Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(
at org.eclipse.riena.internal.communication.core.factory.CallHooksProxy.invoke(
at $ Source)
at org.eclipse.riena.internal.communication.sample.pingpong.client.Activator$PingClient$
at java.util.TimerThread.mainLoop(Unknown Source)
at Source)
Caused by: http://localhost:8080/hessian/PingPongWS?ping&RID-fpx45sbj
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at$ Source)
at$ Source)
at Method)
at Source)
at Source)
at com.caucho.hessian.client.HessianProxy.invoke(
... 12 more
Caused by: http://localhost:8080/hessian/PingPongWS?ping&RID-fpx45sbj
at Source)
at Source)
at com.caucho.hessian.client.HessianProxy.invoke(
... 12 more

Is it a bug? I would be happy to create a bugzilla issue Smile.
Is there some other reason for this?


Organisations- und Prozessdokumentation Software
Qualit├Ąt Management QMS :: Information Management IMS
Previous Topic:Riena counterpart of ProgressMonitorDialog
Next Topic:Remote Services with EMF generated objects and TENEO
Goto Forum:

Current Time: Wed May 23 15:17:04 GMT 2018

Powered by FUDForum. Page generated in 0.01578 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top