File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Flex and the fly likes issue to RemoteObject based on LCDS  in my flex app demo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "issue to RemoteObject based on LCDS  in my flex app demo" Watch "issue to RemoteObject based on LCDS  in my flex app demo" New topic
Author

issue to RemoteObject based on LCDS in my flex app demo

Han Jie
Greenhorn

Joined: Sep 24, 2010
Posts: 24
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

Joined: Nov 29, 2010
Posts: 4

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



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: issue to RemoteObject based on LCDS in my flex app demo
 
Similar Threads
Need some explanation on a configuration fix I made
DataGrid With RemoteObject
Flex and Java cannot add anything to list
Transfer File using Remote Object
Problem consuming WebService in Flex 3