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 Donze
Messages: 159
Registered: July 2009
Location: Switzerland
Senior Member
Hello

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(HessianProxy.java:194)
at $Proxy13.ping(Unknown 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(AbstractHooksProxy.java:69)
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(AbstractHooksProxy.java:38)
at org.eclipse.riena.internal.communication.core.factory.CallHooksProxy.invoke(CallHooksProxy.java:66)
at $Proxy14.ping(Unknown Source)
at org.eclipse.riena.internal.communication.sample.pingpong.client.Activator$PingClient$1.run(Activator.java:78)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: 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 sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:179)
... 12 more
Caused by: java.io.FileNotFoundException: http://localhost:8080/hessian/PingPongWS?ping&RID-fpx45sbj
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:168)
... 12 more


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

greets
Flavio


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


Current Time: Mon Oct 20 13:11:40 GMT 2014

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

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