Here is the output: both Typed Object 4 & 5 are Java 5 enums, and they
are not deserializing to anything.

 

[Flex] Serializing AMF/RTMP push

Version: 3

  (Command method=receive (0) trxId=null)

    (Typed Object #0 'flex.messaging.messages.AsyncMessage')

      destination = "insightNotifierDesitnation"

      headers = (Object #1)

        JMSXDeliveryCount = 1

      correlationId = null

      messageId = "ID:37-11648295333041"

      timestamp = 1.164829533304E12

      clientId = "21004143-990F-AEB2-3756-FE259714C6D8"

      timeToLive = 0.0

      body = (Typed Object #2 'com.sunbridgecapital.model.WebMessage')

        to = null

        modId = 0

        subjectRefId = null

        recordId = "70"

        userId = 48

        userCreationTimestamp = Wed Nov 29 13:45:35 CST 2006

        message = "Your application has been approved and is Termbuilder
ready"

        statusType = null

        from = null

        subject = (Typed Object #4
'com.sunbridgecapital.model.WebMessageSubjectType')

        status = (Typed Object #5
'com.sunbridgecapital.model.ModelState')

        id = 2033

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Farland
Sent: Wednesday, November 29, 2006 1:20 PM
To: [email protected]
Subject: [eDoxs PSpam]RE: [flexcoders] Messaging and serialization

 

Hi Allen,

 

Before going this far, can you try turning on "Debug" level logging in
/WEB-INF/flex/services-config.xml and ensure that only the Endpoint.*
pattern is enabled for the logging target filters?

 

I'd then clear out the logs, re-run the test, and examine the AMF
representation of the Object as it was serialized.

 

Pete

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Allen Riddle
Sent: Wednesday, November 29, 2006 11:30 AM
To: [email protected]
Subject: [flexcoders] Messaging and serialization

I have a flex app that is unable to de-serialize a JMS message
correctly. The message I'm sending is a Java object, but when Flex
de-serializes the message, aggregate objects on the message are null,
only String values there populated. Do I have to set up an action script
class and use the RemoteClass tag to get it to de-serialize the message
correctly?

Allen Riddle

Sofware Development

x3217

 

Reply via email to