# XML request/response (communication between flash and .net)

**URL:** <https://forum.kirupa.com/t/xml-request-response-communication-between-flash-and-net/195960>\
**Category:** programming\
**Created:** [August 4, 2006, 7:47am UTC](https://forum.kirupa.com/t/xml-request-response-communication-between-flash-and-net/195960 "2006-08-04T07:47:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramji\_roi](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@ramji\_roi](https://forum.kirupa.com/u/ramji_roi)\
**Post date:** [August 4, 2006, 7:47am UTC](https://forum.kirupa.com/t/xml-request-response-communication-between-flash-and-net/195960/1 "2006-08-04T07:47:10Z")

</div>

Hi buddies,  
we are communicating flash and .Net through xml’s. we are sending a request im xml format to a url through sendAndLoad and on successful receiving the response frm tht url we are performing some operations…

The problem which we face is the request is sent to .net and it is available similarly in .net response is readily available but that response is not captured in flash side.

the code which we use is something like this…

in flash Side ::

var req\_xml = new XML ( xml\_str);  
var res\_xml=new XML();  
res\_xml.onload = funnction (success)  
{  
if(success)  
{  
//handling the response  
}  
}  
req\_xml.sendAndLoad(req\_url,res\_xml);

in .Net side ::

xmldocument xmldoc =new xmldocument();  
xmldoc.load(request.inputStream);  
Response.Write(str);

can we get any tips on this ?
