Forum Discussion

cbyndr's avatar
cbyndr
Contributor
13 years ago

[Resolved] use amf requests for amf polling?

Trying to set up some soapui tests that will work with the trader desktop web app from the blazeds turnkey download.

I have an AMF Request includes the following initialization script:

package flex.samples.marketdata;
import flex.messaging.messages.CommandMessage

amfHeaders["DSId"] = 'XXX'
amfHeaders["DSEndpoint"] = 'my-polling-amf'
object = new CommandMessage(0)
parameters["Object"] = object;
object.destination = 'market-data-feed'

When sending the request though, I get the following response:

<flex.messaging.messages.ErrorMessage>
<clientId class="string">EEA7A7C1-130D-472E-C5FB-50C0C2A95E90</clientId>
<destination>market-data-feed</destination>
<messageId>EEA78926-9A1B-2042-4D5E-031849C6F2B2</messageId>
<timestamp>1349201471805</timestamp>
<timeToLive>0</timeToLive>
<correlationId>EEB6D144-110C-ABEE-8F82-A83A623BC55F</correlationId>
<faultCode>Server.Processing</faultCode>
<faultString>Destination &apos;market-data-feed&apos; requires FlexClient support which was introduced in version 2.5. Please recompile the client
application with an updated client framework.</faultString>
</flex.messaging.messages.ErrorMessage>

Is there some change I could make to get around this issue? Or would it require a change to soapui itself to get this to work?
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    unfortunately the AMF libraries used by soapUI don't currently support Flex 2.X on the server...

    regards,

    /Ole
    SmartBear Software
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    If you would like, we could create an feature request for this.

    --
    Regards

    Erik
    SmartBear Sweden
  • That would be great. And if this change makes it into a build I'd be happy to help test.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    We've now created a feature request for this (SOAPUI-4474).
    We'll notify you when we have more information about this.

    --
    Regards

    Erik
    SmartBear Sweden