Skip navigation
Flemian
Currently Being Moderated

Logging into file with Flex using Blazeds

Apr 23, 2012 6:39 AM

Hi there!

 

 

I have an issue with Flex. I'm trying to log temperature values into files, they only appear on the webform. I'm using Bladeds connected to flash builder displayed on web. This is the code I'm "working on":

 

 

Temperature_1: 2012.4.19 10:59 null°C Temperature_2: 2012.4.19 10:59 null°C

'my-amf' pinging endpoint.

'my-amf' channel is connected.

'my-amf' channel sending message:

(mx.messaging.messages::RemotingMessage)#0

  body = (Array)#1

  clientId = (null)

  destination = "XBee4"

  headers = (Object)#2

  messageId = "FA6A2953-59A4-DC52-D304-C9D3D4730D24"

  operation = "getHomerseklet1"

  source = (null)

 

 

operation = "getHomerseklet1"

  source = (null)

  timestamp = 0

  timeToLive = 0

'48EF32D2-511B-59E7-1EA2-C9D3D29CB739' producer connected.

'48EF32D2-511B-59E7-1EA2-C9D3D29CB739' producer acknowledge of 'FA6A2953-59A4-DC52-D304-C9D3D4730D24'.

'my-amf' channel sending message:

(mx.messaging.messages::RemotingMessage)#0

  body = (Array)#1

  clientId = "C2BE2AD1-BB08-5813-6B37-EC5235ECED0B"

  destination = "XBee4"

  headers = (Object)#2

  messageId = "03834DF2-13A0-A558-8136-C9D3D49B356C"

  operation = "getHomerseklet2"

  source = (null)

  timestamp = 0

  timeToLive = 0

 

 

Thank you in advance!

 
Replies
  • Currently Being Moderated
    Apr 23, 2012 2:24 PM   in reply to Flemian

    Your source is null.

     

    Please post the code you are using to make this request.

     

    Cheers!

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 24, 2012 9:19 AM   in reply to Flemian

    You are missing some key information there...

     

    My guess would be you are not setting up your service correctly. Try posting a very simple example application that does nothing more than call a service and traces the result. This code should be contained within a single MXML file.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2012 2:57 PM   in reply to Flemian

    I guess I don't understand the question then.

     

    What exactly are you trying to figure out how to do? Are you having trouble figuring out how to get the values in the form into a request? Or are you asking what to do with them once they are sent?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points