File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Flex and the fly likes Flex - Java communication problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex - Java communication problem." Watch "Flex - Java communication problem." New topic

Flex - Java communication problem.

Bart Hofma

Joined: Apr 27, 2012
Posts: 9
Im trying to fix a webapp, which i didnt write myself, i was told everything used to work fine before
Only thing i can think of that might have changed, is a server restart.

I have no experience with Flex and BlazeDS, but i do know some Java
it seems to be configured ok. When i click the send button on the webapp, my eclipse console tells me

INFO: Channel endpoint my-amf received request.

1) So the communication must be working right?
2) How do i tell it what to do from there?
3) How do i get the string that the app sends me?

forgive me if my questions are stupid, but ive searched all over the net and cant figure out whats wrong. If you need to see settings of a certain xml file please tell me and i will post.

Thanks in advance
Anurag Verma
Ranch Hand

Joined: Mar 30, 2012
Posts: 128

what is the issue? what are you trying to fix???
Bart Hofma

Joined: Apr 27, 2012
Posts: 9
The Flex app(an order form) is supposed to send data to the java app, so the java app can write the order to the database.

The person who made it does not work here anymore, and cant be reached, so i really have no one to ask.
I think the connection is allright, i just have no idea how i tell it to get the string and which method to use.

EDIT: the issue is that orders dont show up in database
Rajesh Tarte
Ranch Hand

Joined: Nov 02, 2006
Posts: 33

Are you using any framework like cairngom or something?
Try to debug from flex to java..

I agree. Here's the link:
subject: Flex - Java communication problem.
It's not a secret anymore!