Xml.send() works but not sendAndLoad()

Hi guys, i'm trying to send data to a servlet ( which is
hosted on a different server and managed by a 3rd party so i can't
change it)
When I use the following code:
requestXML.send ("
http://www.mydomain.com/xmlpost",
"_blank","POST");
it opens a new browser window which displays the xml
response. All good.
But I don't want a new broswer window. I want the flash to
wait and see what the response is. So I use:
requestXML.sendAndLoad ("
http://www.mydomain.com/xmlpost",
myLoginReply_xml,"POST");
var myLoginReply_xml : XML = new XML ();
myLoginReply_xml.contentType = "text/xml";
myLoginReply_xml.ignoreWhite = true;
myLoginReply_xml.onLoad = myOnLoad;
function myOnLoad(success:Boolean) {
if (success)
getURL ("javascript:alert('" + myLoginReply_xml + "')")
} else
getURL ("javascript:alert('FAIL!')")
And nothing happens.
Is there any difference between send and sendAndLoad why it
wouldn't work? Different security parameters, different dtat
format, anything?
Thanks!

Well that didn't do it. Further investigation brought the
following facts:
If i test from the flash environment, Flash doesn't ask for a
crossdomain.xml and the request is made ( i get an entry in the
database) and the response sent, but Flash doesn't pick anything up
and the reply XML.onLoad event never fires.
If I test from a dev server, flash looks for the
crossdomain.xml file, but even though it finds it and the servers
are allowed to communicate, the request never gets sent (no entry
in the database)
Arrrrgg I'm pulling my hair over this!
Anyone able to help ?
Thanks.

Similar Messages

  • My Mac Mini doesn't recognize my Avengers DVD--it keeps saying "Supported disc not available." I've tried other DVD's which work, but not this one. itunes and everything else has been updated to the newest versions. Help?

    My Mac Mini doesn't recognize my Avengers DVD--it keeps saying "Supported disc not available." I've tried other DVD's which work, but not this one. itunes and everything else has been updated to the newest versions. Help? Also...It doesn't recognize the digital copy DVD.

    I have ALL the exact same symptoms as on my home computer.
    It sure sounds to me like something on the iPod is broken. If it's under warranty then I would send it back for repair. If not, check out some of the web repair services, such as iPodResQ etc.

  • Wake on Lan (works, but not always)

    Iam trying to get Wak on Lan working on my iMac. It works, but not always. When I put my mac to sleep en send the magic package, my mac turns back on. But when my mac turns to sleep and I wait a few hours (the next morning), my Mac doesn't respond to the same magic packag. When I wake up the Mac by hand, and put it back to sleep again, the magic package works again en turns the mac on.
    It almost looks like the mac goes into a deeper sleep mode after a few hours. Does anyone knows what could ben the reazon.

    mmm, It seems like my mac doesn't always turns to sleep mode. Most of the time it only turns off the screen (solid light). My energy settings are 10 minutes for the screen and 15 minutes for the mac. But after turning of the screen it never turns to sleepmode. Ecxept when I put it to sleep manualy.
    Strange thing is: when the screen is turned of, shouldn't I be able to get tot my files... (I can't actualy).

  • New Iphone 5 - can send emails but not sync any other information

    I have just tried adding an exchange email account to a new iphone5 and I go through the steps to verify which all works then once set up is complete I can only send emails but not receive them also not able to see outlook file tree or any contacts or calendar appointments.
    I have 2 other iphones working - 1 iphone 4 and 1 iphone 5.
    Any suggestions?

    Contact the exchange admin.

  • Can send SMS but not receive after update...

    After updating my iPhone 4S to ios6 i have problems with receiving messages.I can send SMS but not receive. What to do?

    Although I don't believe in consequences, I think this might be one of them. My email was working fine until I installed my VPN. I use the Thunderbird email application, which I like a lot, for three Hotmail accounts and two Yahoo accounts. After installing the VPN I could receive mail but could not send it on any of my accounts. I contacted the VPN and they sent me some numeric IP Addresses to put in my account settings. One for the Hotmail accounts and one for the Yahoo accounts. I did as instructed and the email seemed to work okay. It was late in the evening and I went to bed. The next morning, I could send and receive emails on the Yahoo accounts, but could only send emails on all of the Hotmail accounts.
    I guess I'd like to know if anyone else is having this same problem. I'd hate to think it was just me. :-)
    I would like for Thunderbird to tell me if there is a way to change the outgoing server in the Account Settings, so I can enter the IP Address in there, or does the fact that I entered an IP Address in the Server Name box, cause it to override any other entries? Or should that even make a difference with me receiving mail?
    Also, at what time limit does Thunderbird send back a message that the connection to the server timed out? I continually get that message.
    I found a way to do a ping on the Hotmail server and the fastest response time for the last two days was 258.09 which seems very slow for a business computer. At least for a business that wants to stay in business. So is that time above the Thunderbird threshold of the connection time out message to be generated?
    Thanks for all your help and suggestions, Carole

  • Problem with drivers for HP B109 a-m all-in-one, have printer working but not scanner in windows 8

    Still have a problem with the drivers in Windows 8 release preview, for my HP B109 a-m all-in-one, have printer working but not scanner, is there any chance of a fix before final release of Windows 8 ?.

    Review my post here:
    http://h30434.www3.hp.com/t5/Windows-8-Release-Preview/SOLUTION-Get-Win-7-Printer-Drivers-HP-Solutio...
    And see if something similar will work for you.

  • Allt he links in the header of any websites are not working, I reinstalled fiorefix and it s the same. No problem in others browser. the tool bar is working but not the link sinside the web page located between the top 300px height

    all the links in the header of any websites are not working, the cursor is not changing into pointer and no way to click on any link located at the top of any website page. I reinstalled firefox and it s the same. No problem in others browser. the tool bar is working but not the links inside any web page located between the top 300px height.
    So I can t tlog into any website, i cant write an email as the compose button is located in the top of the page.. Please help, i have all my bookmarks into my firefox...

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Speakerphone problem - lost voice from speakerphone while playing music or gaming youtube, while call or voice recording playing - all works fine, so speakerphone is working but not on all apps. hard reset done - no changes

    or gaming youtube, while call or voice recording playing - all works fine, so speakerphone is working but not on all apps. hard reset done - no changes.
    iphone 4
    SOLVED plugin to charger solved it - so problem was with contacts -- no idea why - phone is new - no water - no havy dust - usual using  
    hope will never return. Thanks

    We checked it with an iPhone 5 in house multiple times and could not reproduce this Problem. Must be something specific to your device. Maybe your speakerphone volume is turned down completely?
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Hi!My 6 month old MBP 13" has suddenly stop charging.Mac is working,but not charging

    Hi!My 6 month old MBP 13" has suddenly stop charging.Mac is working,but not charging

    Troubleshooting MagSafe adapters  http://support.apple.com/kb/ts1713
    If you need to pursue further you can do it on-line,  start here
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • My iPad cannot connect to my internet.  the internet is working but not with my ipad.

    my iPad cannot connect to my internet.  the internet is working but not with my ipad.

    Call your ISP (Internet Service Provider) and explain them your issue, it could range from having your router configured incorrectly to having a wiring issue. Personally, I have Comcast and they are great, no issues, and awesome customer service.
    Hope you get up and running ASAP

  • HT4993 My volume down button is not working.  The UP button works, but not the down button.  I have tried to restart it and that didn't solve the problem.

    My volume down button doesn't work on my iPhone.  The UP buttown works, but not the down button.  I have tried a hard reset and that didn't fix it.

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • ICloud keeps asking for password but will not take it. All other devices work but not my IMac???

    ICloud keeps asking for password but will not take it. All other devices work but not my IMac???

    Exactly which password are you inputting? iCloud looks for your AppleID password.

  • I upgraded to lion today and just realized I am not receiving any mail. I can send out but not receive. i'm using a POP Road Runner account. Any help appreciated.

    I just upgraded to Lion today and realized I'm not receiving any mail. I can send out but not receive. I am using a POP server Road Runner acct. Any help would be appreciated.

    Try Mail->Window->Connection Doctor.  If there is a problem reported, try:
    Open Mail->Preferences and check your settings.
    If you still have a problem, Copy your settings (screen capture ⇧⌘4), delete account, and re-setup account

  • Sap xi SCENARIO source directory working ,but not working target directory

    sap xi SCENARIO source directory working ,but not working target directory..
    plz help me

    Hi,
    Be more specific on the problem you are facing so that the ppl here can help..
    looks like your are trying to file to file scenario and the file is not generating at the target folder ...
    then check the communication logs of the receiver adapter using RWB->CC logs..
    post the error you have received there..
    HTH
    Rajesh

  • Can't sync ical on my iphone and imac. email and note work but not ical.  can anyone help.

    can't sync ical on my iphone and imac. email and note work but not ical.  can anyone help.
    thanks
    bmoreimac

    So how can i make it work that way, i asked one of my friends, and she says it works like that...when she delete the email on her iphone it is deleted on the mac too, what do i do to change this?....my mail it's hotmail, i don't know if its relevant

Maybe you are looking for

  • MSI 4800 se 8x (8900)

    I just bought of course a MSI 4800 SE 8X (ms8900) Card installed hardware and when I went to install drivers they will not take. Says "Bad Data"after installation of drivers and then "video card not installed properly there may be problems." When I g

  • 'Value too large for column' error in msql

    In my 9ilite database I have a table with a LONG column In the documentation it says that a LONG column can hold upto 2 GB data However when I try an insert more than 4097 characters into the column I get the error message on insert 'Value too large

  • Can I add extra RAM on a mini?

    This may be a stupid question, but here it goes... my iBook G3 recently past away (a sad, sad day, I might add), so to save a little money, I decided to replace it with a Mac Mini until I can invest in a new iBook. While I eagerly await its arrival,

  • Weird Artifacts Surrounding Menu Items & during movie playback

    My Apple TV's picture was rock solid for the first month or so, but now when I watch movies I've synced to it--which were just fine before--I get loads of blocky artifacts, plus these horizontal lines of blue static. At first glance, the interface im

  • How do I restore my purchase

    Hi so I have downloaded an app on accident and it cost $8.00 how do I restore my purchase. I dont want to restore the app back onto my phone but I want to get the money back! Can someone help me with a step by step procedure?