AmfToXml Function

Description:

This function converts a Flex AMF (Action message format) message to XML. A description of the XML tags representing an AMF message can be found in the XML representation of AMF messages section.

Format:

result = AmfToXml(input_string);

Parameter:

linput_string

A string expression from contains an AMF message

Example:

SUBMIT POST "http://10.1.15.121/weborb30/examples/flex/remoting/basicinvoke/weborb.aspx" IDENTIFIER 22 REFERER 21
FLEX
    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
    "<AmfMessage version=\"3\">"
    "     <AmfBody target=\"null\" response=\"/1\">"
    "         <Amf0Data type=\"strict-array\" referenceId=\"amf0obj0\">"
    "             <Amf0Data type=\"avmplus-object\">"
    "                 <Amf3Data type=\"object\" referenceId=\"object0\">"
    "                    <ClassType externalizable=\"False\" " </Amf0Data>"
...
    "         </Amf0Data>"
    "     </AmfBody>"
    "</AmfMessage>"
    _AmfToXml=AmfToXml(CONTENT)
    result=XML_GetElementAttribute(_AmfToXml, "/AmfMessage[1]/AmfBody[1]/Amf0Data[1]/Amf3Data[1]/Member[2]/Amf3Data[1]", "type")
   

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap