Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

issue to RemoteObject based on LCDS in my flex app demo

 
Han Jie
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone, I am a newer in learning Flex and I meet a issue now.

the environments are below

windows XP
eclipse 3.5
Flex4(FlashBuilder_4_Plugin_LS10.exe)
lcds31-win.exe
apache-tomcat-6.0.29

the codes are below

TestService.java


remoting-config.xml


index.mxml


When I deploy it to tomcat and input url(http://loccalhost:8080/flex/index.html),the components containing the TextInput and Button are diplaying well.

Then I input a String "tom" here in the TextInput and click the Button "click me", the frame "Remote Object Error" defined in index.mxml appears and the line "System.out.println(name);" in class TestService doesn't run.

It stands I call the method "sayHello" in TestService through Remote Object based on LCDS here unsuccessfully. But I don't realize that where I am wrong.

Can anyone give me some advices on why?

Thanks in advances!

HanJie
 
RatanKumar Yadav
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Where you are passing the parameter to sayHello method defined in java class.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic