Hi Christian,
 
thanks for M5. Today I return to Riena again. 
Sample for simple remote service PingPong  works OK, but
not completely.  
 
When I call in Mozilla : http://localhost:8080/hessian/PingPongWS, 
I receive an error: 
 
HTTP ERROR: 405
Hessian
requires POST
RequestURI=/hessian/PingPongWS
Powered
by Jetty://
 
If I cause a server through a method post :
 
HTTP ERROR: 500
expected 'c' in hessian input at -1
RequestURI=/hessian/PingPongWS
Powered by Jetty://
 
 
Thus : messages from client console: 
 
osgi>
2008.11.10 10:09:24 CET szhbankova@han-hb-nob-024 INFO [Start Level Event
Dispatcher] org.eclipse.riena.internal.core.Activator No stage information set.
2008.11.10
10:09:24 CET szhbankova@han-hb-nob-024 WARN [Start Level Event Dispatcher]
org.eclipse.riena.internal.core.Activator Forced <<lazy>> start():
'org.eclipse.riena.communication.publisher.hessian' failed but may succeed
(bundle state is in transition):
            State
change in progress for bundle
"initial@reference:file:plugins/org.eclipse.riena.communication.publisher.hessian_1.0.0.M5.jar/"
by thread "Start Level Event Dispatcher".
2008.11.10
10:09:24 CET szhbankova@han-hb-nob-024 INFO [Start Level Event Dispatcher]
org.eclipse.riena.internal.communication.factory.hessian.Activator start
hessian support on client
2008.11.10
10:09:24 CET szhbankova@han-hb-nob-024 INFO [Start Level Event Dispatcher]
org.eclipse.riena.communication.core.ssl.SSLConfiguration Configuring SSL
protocol 'null' with keystore 'null'.
2008.11.10
10:09:24 CET szhbankova@han-hb-nob-024 INFO [Start Level Event Dispatcher]
org.eclipse.riena.communication.core.ssl.SSLConfiguration No configuration
given!.
2008.11.10
10:09:24 CET szhbankova@han-hb-nob-024 INFO [Start Level Event Dispatcher]
org.eclipse.riena.internal.core.Activator Forced start:
'org.eclipse.riena.communication.factory.hessian' succesful.
PingPong::Client:: [Pong] says = Thx. I got the ping!
 
Server console:
 
2008.11.10
10:09:18 CET szhbankova@han-hb-nob-024 WARN [Start Level Event Dispatcher]
org.eclipse.riena.internal.core.Activator Forced <<lazy>> start():
'org.eclipse.riena.communication.publisher.hessian' failed but may succeed
(bundle state is in transition):
            State
change in progress for bundle
"initial@reference:file:plugins/org.eclipse.riena.communication.publisher.hessian_1.0.0.M5.jar/"
by thread "Start Level Event Dispatcher".
2008.11.10
10:09:18 CET szhbankova@han-hb-nob-024 INFO [Start Level Event Dispatcher]
org.eclipse.riena.internal.communication.factory.hessian.Activator start
hessian support on client
2008.11.10
10:09:18 CET szhbankova@han-hb-nob-024 INFO [Start Level Event Dispatcher]
org.eclipse.riena.communication.core.ssl.SSLConfiguration Configuring SSL
protocol 'null' with keystore 'null'.
2008.11.10
10:09:18 CET szhbankova@han-hb-nob-024 INFO [Start Level Event Dispatcher]
org.eclipse.riena.communication.core.ssl.SSLConfiguration No configuration
given!.
2008.11.10
10:09:18 CET szhbankova@han-hb-nob-024 INFO [Start Level Event Dispatcher]
org.eclipse.riena.internal.core.Activator Forced start: 'org.eclipse.riena.communication.factory.hessian'
succesful.
Nov 10, 2008 10:09:18 AM
org.mortbay.http.HttpServer doStart
INFO: Version
Jetty/5.1.x
Nov 10, 2008
10:09:18 AM org.mortbay.util.Container start
INFO: Started
org.eclipse.equinox.http.jetty.internal.Servlet25Handler@1774b9b
Nov 10, 2008
10:09:18 AM org.mortbay.util.Container start
INFO: Started
HttpContext[/,/]
Nov 10, 2008
10:09:18 AM org.mortbay.http.SocketListener start
INFO: Started
SocketListener on 0.0.0.0:8080
Nov 10, 2008
10:09:18 AM org.mortbay.util.Container start
INFO: Started
org.mortbay.http.HttpServer@1833eca
Nov 10, 2008
10:09:24 AM org.mortbay.jetty.servlet.ServletHandler$Context log
INFO:
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper: call
protocol=hessian, url=""
interface=org.eclipse.riena.communication.sample.pingpong.common.IPingPong
PingPong::Server::
[Ping] says = I ping you and you pong me
Nov 10, 2008
10:10:25 AM org.mortbay.jetty.servlet.ServletHandler$Context log
INFO:
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper: call
protocol=hessian, url=""
interface=org.eclipse.riena.communication.sample.pingpong.common.IPingPong
osgi> ss
 
Framework is
launched.
 
id    State      
Bundle
0     ACTIVE     
org.eclipse.osgi_3.4.0.v20080605-1900
                 
Fragments=15
1     ACTIVE     
org.eclipse.core.jobs_3.4.0.v20080512
2     ACTIVE     
org.eclipse.equinox.app_1.1.0.v20080421-2006
3     ACTIVE     
org.eclipse.riena.communication.publisher.hessian_1.0.0.M5
4     ACTIVE     
org.eclipse.riena.communication.console_1.0.0.M5
5     ACTIVE     
org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
6     ACTIVE     
org.eclipse.core.variables_3.2.100.v20080529-1300
7     ACTIVE     
org.eclipse.equinox.common_3.4.0.v20080421-2006
8     ACTIVE     
com.caucho.hessian_3.1.3
9     ACTIVE     
org.eclipse.equinox.registry_3.4.0.v20080516-0950
10    ACTIVE     
org.eclipse.osgi.services_3.1.200.v20071203
11    ACTIVE     
org.eclipse.core.runtime.compatibility.auth_3.2.100.v20070502
12    ACTIVE     
org.eclipse.riena.communication.sample.pingpong.common_1.0.0.M5
13    ACTIVE     
org.eclipse.riena.communication.factory.hessian_1.0.0.M5
14    ACTIVE     
org.eclipse.riena.core_1.0.0.M5
15    RESOLVED 
  org.eclipse.equinox.transforms.hook_1.0.0.v20080610
                 
Master=0
16    ACTIVE     
org.eclipse.riena.communication.core_1.0.0.M5
17    ACTIVE     
org.eclipse.core.contenttype_3.3.0.v20080604-1400
18    ACTIVE     
org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
19    ACTIVE     
org.eclipse.core.runtime_3.4.0.v20080512
20    ACTIVE     
org.eclipse.equinox.preferences_3.2.200.v20080421-2006
21    ACTIVE     
org.eclipse.riena.communication.publisher_1.0.0.M5
22    ACTIVE     
javax.servlet_2.4.0.v200806031604
23    ACTIVE     
org.eclipse.equinox.http.jetty_1.1.0.v20080425
24    ACTIVE     
org.eclipse.riena.communication.sample.pingpong.server_1.0.0.M5
25    ACTIVE     
org.eclipse.equinox.log_1.1.0.HEAD
26    ACTIVE     
org.apache.log4j_1.2.8.v200706111329
27    ACTIVE
     org.eclipse.riena.server_1.0.0.M5
28    ACTIVE     
org.apache.commons.logging_1.0.4.v20080605-1930
29    ACTIVE     
org.mortbay.jetty_5.1.14.v200806031611
 
 
What is it? Why?
 
Thanks, Sonya
 
From: riena-dev-bounces@xxxxxxxxxxx
[mailto:riena-dev-bounces@xxxxxxxxxxx] On Behalf Of Christian Campo
Sent: Wednesday, November 05, 2008 2:00 PM
To: Riena Developers list
Subject: Re: [riena-dev] Remote Services
 
 
 
Hi Sofya,
I assume you are using M5 from today ? Yes
createAndRegisterProxy still has 3 parameters and the example should work. (in
M4 it had 4 parms but we removed the last parameter in the M5 again).
 
Did you look at the description at http://wiki.eclipse.org/Riena_Getting_started
? It shows you step by step how to import a simple Remote service example from
the Riena platform and get it running. Then simply look at the source code and
there you have it.
 
If that doesnt help, let me know
 
 
Am 05.11.2008 um 13:39 schrieb Sofya Zhbankova:
 
I am interested in the remote services of the Riena and I am
currently trying to make a small sample.
 
still actual?  For example, here... A method  RemoteServiceFactory().createAndRegisterProxy() has 3 parameters.
 
Where could I get a simple actual example of the Riena remote
service?
 
<ATT00001.c>