JavaScript Functions > Alphabetical Listing of Web Functions > web.utilSetFormattedRequestBody

web.utilSetFormattedRequestBody

Example Asynchonous Functions

Sets an XML string to be the request body for the next request sent in a Flex ConversationAn Asynchronous Conversation is a series of related web tasks, including tasks caused by redirection. An Asynchronous Conversation starts with the request for the desired response, includes all the requests and responses that are caused by this request (authentication, redirection, and so on) and ends when the desired response is received or when the series of interactions is canceled..

Syntax

 web.utilSetFormattedRequestBody ( <xmlBody> );
Argument Description
xmlBody The XML string to be set as the new request body.

Return Values

Not applicable

Parameterization

All string input arguments can be passed using standard parameterization.

General Information

This is a utility function that can be called from a Request Callback for a Flex conversation. See Alphabetical Listing of Flex Functions (FLEX)

Concept Link IconSee Also

Example

web.utilSetFormattedRequestBody("<AMFPacket AMF_version=\"3\">");
 

See also: Example: Asynchronous Conversations