cbyndr
13 years agoContributor
[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 'market-data-feed' 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?
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 'market-data-feed' 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?