• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

issue to RemoteObject based on LCDS in my flex app demo

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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



 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic