Avatar

Level 1
It was a context error, but thanks :slightly_smiling_face: Now I have a response,
but somehow I can't access that response. I receive this:



[AMFMessageServlet] << Returning AMF0 response:

org.granite.messaging.amf.AMF0Message {

version = 3

headers = []

bodies = [

org.granite.messaging.amf.AMF0Body {

target = /3/onResult

serviceName = null

serviceMethodName = null

response =

type = AMF3_OBJECT

value = flex.messaging.messages.AcknowledgeMessage {

correlationId = 4BC2BDA6-7E93-BAFC-D023-0EC9A42F4544

destination = null

headers = {}

messageId = 071A0DFB-FAF1-4ED9-A8A4-8FFD5A316BBF

timestamp = 1194249004126

clientId = E9EB42DA-D843-4226-9A40-7C5E96B2425B

timeToLive = 0

body = com.atosorigin.domain.Medewerker@1b5d2b2

}

}

]

}



A Medewerker Object and this object has a property voornaam.
So, it should be accessed with the follow code right?:



[Bindable]

public var employee1:Medewerker;



<mx:Label text="{employee1.voornaam}" />



(Leaving out unnecessary code)