My WebService with soap headers code no longer works in Flex 3

In Flexbuilder 2 this code works like a charm but when I run
it from 3 I'm getting errors. I can't seem to find any info on the
changes in the Help. I posted this problem on another forum and got
a lot of great feedback but we haven't been able to find the
problem, can someone lend a hand, maybe an Adobe person? Below is
my error and code.
Thank You,
Mark
--ERROR--
(mx.rpc::Fault)#0
errorID = 0
faultCode = "Server.Error.Request"
faultDetail = "Error: [IOErrorEvent type="ioError"
bubbles=false cancelable=false eventPhase=2 text="Error #2032:
Stream Error. URL:
http://radar.us.na.ey.net/RadarXML.asmx"
URL:
http://radar.us.na.ey.net/RadarXML.asmx"
faultString = "HTTP request error"
message = "faultCode:Server.Error.Request faultString:'HTTP
request error' faultDetail:'Error: [IOErrorEvent type="ioError"
bubbles=false cancelable=false eventPhase=2 text="Error #2032:
Stream Error. URL:
http://radar.us.na.ey.net/RadarXML.asmx"
URL:
http://radar.us.na.ey.net/RadarXML.asmx'"
name = "Error"
rootCause = (flash.events::IOErrorEvent)#1
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#2
bytesLoaded = 0
bytesTotal = 0
data = (null)
dataFormat = "text"
eventPhase = 2
target = (flash.net::URLLoader)#2
text = "Error #2032: Stream Error. URL:
http://radar.us.na.ey.net/RadarXML.asmx"
type = "ioError"
--MXML--

I agree with Sean in avoiding 'updateStage' and updating much of your syntax.
I started writing some exampels of syntax and loop improvments and ended up going through almost your entire script..Here goes
on mouseDown
    set me = the castNum of sprite (the clickOn)
could be replaced with
  on mouseDown me
    myMember = sprite(me.SpriteNum).member
You can remove all the 'set' words, like the above and:
  dropList = ["Effective", "Not_effective"] 
  temp = EMPTY
Replace the following (assuming you used the myMember statement above):
  put temp into field me
with
  member(myMember).text = temp
There are 2 if.. then conditions in the repeat while the stillDown loop that look wrong:
  if the mouseCast = me then set newLine = the mouseLine
  else set newLine = 0
I would expect it to be:
  if the mouseCast = me then
    newLine = the mouseLine
  else
    newLine = 0
  end if
You can get away from the 'repeat will the stilldown' by adding the code to an exitFrame event that can be within this behavior:
  on exitFrame me
    if the mouseDown then
    if the mouseCast = myMember.number then
    newLine = the mouseLine 
    else
    newLine = 0
    end if
  if oldLine <> newLine then
    if newLine then
      member(myMember).line[newLine].hilite()
    else
      member(myMember).text = temp
    end if
    oldLine = newLine
  end if
  end if
end
Taking the approach of having multiple events in 1 script and having variables shared in each, it would be best to make thise variables property variables, declaring them as such at teh top of the script.
Then for the 'clean up and close out' code, yu could put that into an on MouseUp event.
In Lingo 1 is TRUE, 0 is FALSE. Since, you're using 0 when setting the visible property, I'd say use 1 instead of TRUE.
Dean
Message was edited by: Dean Utian

Similar Messages

  • How to Post XML Messages with SOAP Headers to a Trading Partner URL

    Hi All,
    Greeting to the Oracle B2B Community. We are currently working on how to post a Custom XML Message with SOAP Headers to a Trading Partner URL. I would really appreciate if anybody could provide me some inputs or links to some documentation on how to achieve the above requirement. The details are below:
    1. Our Internal Application generates a Flat File (PO Extract).
    2. The Extract then needs to be transformed to an XML Message. We are planning to use BPEL to do the transformation to XML Message.
    3. Once it is transformed to an XML message it needs to be posted to the Trading Partner URL as an HTTP Post and with SOAP Headers.
    We are planning to use B2B to do the posting but I am not sure on how to do the set-ups and what all parameter files in B2B needs to be updated in order to achieve the same. Also it is mandatory that we send SOAP Headers in the XML Message.
    Thanks In Advance for your help.
    Regards,
    Dibya

    Hello Dibya,
    As you are already doing the transformation from Flat file to XML in BPEL which is typically the capability of B2B, please use the Soap binding in BPEL to send the document to Trading partner.
    Rgds,Ramesh

  • I forgot my password for my iTunes account and the email that is associated with my iTunes account no longer works. How do I recover my password and be able to change my security questions?

    I forgot my password for my iTunes account and the email that is associated with my iTunes account no longer works. How do I recover my password and be able to change my security questions?

    Forgotten Security Questions / Answers...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions
    Note:
    You can only set up and/or change a Rescue Email Before you forget the questions/answers

  • Syncing with iPad mini does no longer work since latest update of iTunes

    Syncing with iPad mini does no longer work since latest update of iTunes and iPad mini

    Hi grecokev,
    Thank you for contributing to the Apple Support Communities.
    You mention that your iPod nano is no longer recognized by iTunes after an update. Reinstalling iTunes is a good troubleshooting step, and if the device still doesn't appear in iTunes, try the following steps next:
    Turn off your computer and your iOS device or iPod, then turn them on again.
    Check to make sure that you've installed all required updates for your computer.
    Verify that the 30-pin to USB cable or Lightning Connector to USB cable is free of debris and not damaged. If another cable is available, test with that cable instead.
    USB cables that are bundled with third-party products or accessories might work only to charge those products and might not transmit data. Also, if you're using a third-party case or extended battery pack, try removing the case and connecting the Apple-supplied USB cable directly to your device.
    You can find these steps in this troubleshooting article:
    iPhone, iPad, or iPod not recognized in iTunes for Windows - Apple Support
    If the steps above don't solve it, see the section of the article called "Verify that Apple Mobile Device Support is installed" for some additional steps to try on your PC.
    Best Regards,
    Jeremy

  • My 'run with administrative privileges' script no longer works - help

    Hey all. I have an applescript that shuts down the computer that I made a while back. I pulled it out today to use it and it no longer works. Here's part of the code I'm having trouble with:
    do shell script ¬
    "sudo shutdown -h now" password "myadminpassword" with administrator privileges
    On old machines this worked great, I would just put the admin password where myadminpassword is and it would work perfectly. Now though, I run it on my machine and I get the prompt to enter my admin username and password before it will shutdown.
    Now this is going on a remote install so I need it to work. Any ideas? The machine is running snow leopard, but it seems to still work on an old leopard macbook pro.

    Well, for one, do not use sudo in do shell script.
    The whole 'with administrator privileges' part takes care of elevating your privileges. sudo has no place in do shell script.
    Don't know if that's your issue, but it's the first thing I'd fix.
    If that doesn't help, are you running the script as your admin user?
    Nowhere in your script are you defining the username to run the command as, therefore it will attempt to run as the current user who may not be the same as your admin user, nor have the same password. You might need to include the username:
    do shell script "shutdown -h now" user name "admin" password "myadminpassword" with administrator privileges

  • Sharing photos to iCloud with Aper 3.6 no longer works

    Hello:
    It appears that the option to share photos to iCloud from within Aperture no longer works (option is there but is greyed out).  I think this occurred sometime during the recent update cycles to Yosemite and IOS but I haven't used it for some time so I'm not sure.  All I'm doing is selecting my photo and hitting share->iCloud which has worked well in the past.  I can see a fair amount of chatter about this and/or similar issues but I haven't been able to discern if anyone has come up with a solution.
    Any help / comments appreciated
    Dave
    Using Yosemite and Aper 3.6 on a late 2009 27 iMac (need a new one....soon)

    I believe I may have misspoke, was thinking about something else.
    You've probably been thinking of iCloud Photo Library (Beta) , see:  iCloud Photo Library beta FAQ - Apple Support . That is a real killer .
    iTunes Photo Sync will no longer upload photos to iOS 8 devices - iTunes will just show a prompt, that photos can now be uploaded using iCloud.
    My Photo Steam will no longer upload to iOS devices from the Macs. That is, what many users have reported, but I do not know any Apple Support document that confirms it.
    On iOS 8 devices is the Camera Roll no longer  visible.
    The only ways I know to upload from the Mac to iOS devices with iCloud Photo Library (Beta) active, is Mail, Dropbox, or https://www.icloud.com/#photos.

  • [rant] Order cancelled and promotion code no longer works despite being told I can reuse it

    I need to get this off my chest, as I see 2 similar posts regarding this same problem.  If bestbuy.com proceeds to take in an order and cancel it, you should also be able to reissue a promotion code.  Particularly because bestbuy.com customer service admits that the order was cancelled because something in your system flagged the credit card, but could not explain why, and said that it looks like all the credit card information was correct.
    I tried to purchase an item with a mover's coupon.  Order went through with the promo code.  Great!  Then I get an email saying that it was cancelled.  I immediately called and spoke with someone for 19 minutes who told me that she couldn't tell why the order was cancelled, but that it looks like all the credit card information was correct despite the system saying credit card could not be verified.  I explicitly asked her about the promo code I applied, and she stated that I could reuse it since the order was cancelled.  She even told me that I could go into a physical store and place the order with a salesperson there to redo the order and use the same credit card if I wanted.  So somehow that credit card won't work online, but it would work in a store.
    I then proceeded to try to reorder online with another credit card.  To my surprise, the promo code was rejected.  My blood started boiling because I had asked about this exact thing.  Cue second phone call to customer support.  This time I was on the phone for 49 minutes, only to get hung up on.  Now, I am livid.
    So, everytime an agent comes on the phone, they ask for my phone number and email address.  How convenient for you to take all that information down, hang up on me, and not call me back.  I'll give you the benefit of the doubt -- maybe you accidently hit the wrong button or had a bad connection, but you should have at least called me back since you were actively working on my case.  After another call to customer service, and being on hold for 5 minutes, I gave up.
    As far as I'm concerned, you are worst than Comcast.

    Good morning apathykillz, 
    Ordering on BestBuy.com with a Movers Coupon is a great way to save time and money while shopping for your latest device! It is discouraging to hear we may have been unable to verify some of your information, leading to your order's cancelation. It is also unfortunate to hear that you may have been provided some misinformation in regards to the Movers Coupon. Sadly, the Movers Coupon is a one-time use coupon, and cannot be refunded or reissued. I apologize for any hassle that this issue may have caused you.
    With that said, I was unable to locate your order using the email address you registered with the forum, and I would like to look further into this with you. Please be aware that I am sending you a private message to gather further information. You may check your private messages by signing into the forum and clicking the envelope icon in the top right corner of the page. 
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Simple onRollOver code no longer works?

    I'm really starting to hate AS3. I'm a basic user and I was
    BASCIALLY just starting to get the hang of AS2 when Adobe had to go
    start changing things with AS3.
    grrrr...
    so now:
    mc.onRollOver = over
    function over() {
    this.gotoAndPlay(2)
    No longer works. I'm being told that I need to
    addEventListener('mouseOver',callback_handler)
    I tried throwing that in (not fully understanding it) and now
    the animation for my mc just plays repeatedly nonstop.
    Help?

    I have constructed a simple example below to try and help you
    mate, ignore all the button building bit if you don't need it, it
    is for the example only... Go through it and try and impliment into
    your workings, to be honest, events in AS3 are easier than AS2,
    just gotta get your head around it.
    Simply attach you event listener to your mc, state the event
    object type i.e mouse event, then property i.e. MOUSE_OVER, then
    the event handler, the method with all the functionality to run on
    mouse over...
    Hope it helps,
    Simon

  • Indesign CC + Intuos 5: Pen shortcut with hand grabber tool no longer working

    Hi guys,
    I have recently upgraded from CS6 to CC and there is a problem with my Intuos 5 pen shortcuts.
    In my Intuos 5 preferences, I have assigned the 'pan / scroll' function to the button on the side of the Wacom pen. This is for all applications (so I hold the button down and can scroll up / down on any application). With Indesign CS6, this automatically translated into the hand grabber tool i.e. the button on the Wacom pen had the same function as the spacebar on the keyboard. I hold it down to activate the hand grabber tool, and release to let go of the hand grabber. Perfect, and very useful.
    With Indesign CC however, this no longer works. Instead of activating the hand grabber tool, my Wacom pen button now performs a very slow and glitchy scroll (similar to using a mouse wheel). My cursor remains as the little black arrow (rather than turning into a hand) and the whole program slows down - sometimes it takes a good minute or so to finish scrolling down just a page or two. It's obviously not ideal, and seeing as this is probably my most used shortcut it is hindering my work flow quite considerably. Add to that the fact that the spacebar shortcut is undefinable in the keyboard shortcuts menu - so I cannot manually assign the spacebar shortcut to the Wacom pen button - I'm not sure what to do.
    Is this a bug in CC? Is there a fix? Was it ever even intentional for CS6 to automatically replace wacom's 'pan / scroll' shortcut into the hand grabber tool? Anyone else experiencing similar problems?
    Any help would be appreciated. Cheers!
    Jordan

    Hi Cristoph,
    You have mentioned two issues above.
    The first is of the selection issue. I acknowledge that this issue is present in InDesign CC and is one that the InDesign team is investigating. It is already mentioned above that this issue is one that the ID team has been able to reproduce.
    The other issue is
    Another example of a CC-Bug: whenever you open InDesign, the menu-palettes (e.g. that for color-selection, text, paragraph...) are closed. So why the hell is that? If I want to change something I have to reopen the referring palette. There is no reason for this delay of the working process.
    This is the issue for which i was trying to gain more information as to why you are facing this issue. I dont think this one line of information is enough to figure out why you are facing the problem. I tried this on my machine with the given information and it seems to work, upon restart of InDesign the palettes that were earlier open remain opened.
    This is NOT a known issue and is one that i would like to gain more info about and it is with respect to this issue that i mentioned that you try cleaning the prefs and caches.
    If you still happen to be facing the issue(after cleaning the prefs\cache) i would suggest that you report the issue via the link
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Or you can mail the issue at [email protected]
    Please note that simply writing one line in the information will not be of much help, until the ID team is able to reproduce the issue there is no point that they will be able to fix it.
    Thanks
    Javed
    InDesign Engineering team

  • Date/Time stamp JS Code no longer working in Adobe 9

    Hey all,
    I work in the healthcare industry and we timestamp all our documents with the pretty popular javascript code of
    var f = this.getField("today");
    f.value = util.printd("mm/dd/yyyy
    ", new Date());
    But recently our dept. switched to Adobe 9, and now this same code only pulls the date, and the time reads 0:00am.  I know how to fix it, but I'm wondering what is the cause, and if there is anything we can do about the other 40,000 documentes we already have that is stamped with this older and seemingly defunct code, as inspectors and regulators will probably ask why we have 0:00am on our pages that are viewed in Adobe 9.  Any information would be greatly appreciated!
    -Thomas

    var f = this.getField("today");
    f.value = util.printd("mm/dd/yyyy
    h:MM tt", new Date());
    Will now display the time also, given the same text field properties are set which were present on the original time-stamp document.  Which is great going forward, the only problem is that we have 40,000 docs on our intranet that when opened with Adobe Acrobat version 9, stamped with the old code with those same text field properties, will now display 0:00am as the current time.  I don't know the cause of this except that some kind of functionality of one of the methods had to have been changed somehow in Adobe 9.  I know that Adobe 9 now uses Javascript 1.7, Adobe 8 used 1.6.  The only way I can think of so far to fix this is to manually go into each document and place this new code in there, or go back and change the text field properties format, both options of which require us to handle each individual document.  That's why I asked if there was some kind of universal setting that I could set that would interpret the javascript code a certain way, but i don't know if that exists.

  • HT3209 Purchased DVD in US for Cdn viewing. Digital download will not work in Cda or US? please help with new Digital code that will work

    Purchased DVD in US for Cdn viewing. Digital download will not work in Cda or US? please help with new Digital code that will work

    You will need to contact the movie studio that produced the DVD and ask if they can issue you a new code valid for Canada. Apple cannot help you, and everyone here in these forums is just a fellow user.
    Regards.

  • Uninstalled elements 13 and now activation code no longer works

    Elements worked for awhile and kept crashing lately so I uninstalled it and re-installed it and now activation code doesn't work. Can't deactivate it since it is not on my computer and stuck on the activation code.... totally upset since I have a deadline.

    Good morning apathykillz, 
    Ordering on BestBuy.com with a Movers Coupon is a great way to save time and money while shopping for your latest device! It is discouraging to hear we may have been unable to verify some of your information, leading to your order's cancelation. It is also unfortunate to hear that you may have been provided some misinformation in regards to the Movers Coupon. Sadly, the Movers Coupon is a one-time use coupon, and cannot be refunded or reissued. I apologize for any hassle that this issue may have caused you.
    With that said, I was unable to locate your order using the email address you registered with the forum, and I would like to look further into this with you. Please be aware that I am sending you a private message to gather further information. You may check your private messages by signing into the forum and clicking the envelope icon in the top right corner of the page. 
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Href with scroll(0,0) no longer works!

    Until the update to V36.01, I used scroll(0,0) in an href as a link to the top of the page - which worked fine. It no longer works for me. Any ideas?

    Do you mean like this:
    &lt;a href="javascript:scroll(0,0)">To Top&lt;/a>
    It seems this should still be supported, per MDN: https://developer.mozilla.org/docs/Web/API/Window/scroll
    Does it make any difference if you use:
    &lt;a href="javascript:window.scroll(0,0)">To Top&lt;/a>
    or to separate your event handler from the HTML:
    &lt;a href="#" onclick="window.scroll(0,0); return false;">To Top&lt;/a>

  • Calling a webservice with SOAP Receiver

    Hi Guys,
       Im calling web service from XI using SOAP. I could call the webservice using XML Spy, It is working fine.In XML spy I could se the response (variable out , type double).
       When i call the same web service from XI It doesnt give any error in the beginning and later it would convert the same to "Acknowledment contains system errors" in Ack staus(SXMB_MONI). I configured my scenario as Asyn.However there is a response from webservice. Is it mandatory to create a sync scenario in this case? If so I couldnt configure as Im sending an Idoc as a SOAP request.But Response of Webservice is of double type( some integer it returns) So I couldnt map both as it was giving some problems in message mapping.
       I would like to know how XI sends a soap request ? I mean in SXMB_MONI some where it must be there. I wanted to copy the same from XI n paste in XML spy so that i can test whether it would go throgh.
        In plance of that webservice, We created an asp page and configured IIS. I wrote the ASP in such a way that It would read the SOAP request and dump into my default website area. I Could see the SOAP request coming up from XI.When i paste this in XML spy its working fine but not from XI Im wondering what went wrong?
       Appriciate your help.
    Thanks a lot
    Kiran

    Hi Raghavesh,
       My id is [email protected]
    Hi Vijay,
        As Bhavesh said,
             I can handle the response by makign async message interface , I did it but in SOAP adaptor I dont see any option of setting QOS?
            Ya WS is responding So by doing like asyn i can go ahead with that right? Now its throwing error in ask status as :
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace

  • Error while calling webservice with SOAP Receiver

    Hi Experts,
    When we run the report on the ECC 6.0 server we call the web service which is configured as a receiver SOAP Adapter, we are getting the following error:
       XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation
    Can somebody throw a light on this error and how to overcome it.
    Thanking You
    With Best Regards
    Suk4023

    >Can somebody throw a light on this error and how to overcome it.
    Import WSDL and Use soapui or xmlspy and try to send the request and see the response. Make sure your WSDL URL is valid one too. After testing update more informaton on this.

Maybe you are looking for

  • Problem in automatic PO creation after EHP4 upgrade

    Hi experts,   We upgraded our system from ECC6.0 to ehp4. When I am trying to use ME59n to create a PO automatically from a PR, I get a dump "Please maintain services or limits". Item category used is either 'B' or 'D'. The same was working fine earl

  • Euh..... Sorry How to copy a Recordset into a other one

    Sorry for the last one (clone a recordset), In fact I want to copy values from a recordset to a other one (in order to make a comparison of field). Can someone help me, please ?

  • X86_64 10gR2 install on RHEL4 ES x86_64 fails

    After getting the nice new x86_64 10gR2 release, I excitedly unpacked it and ran the installer (after just installing 10gR1 the other day). Everything went along nicely until it failed in linking 'INFO: - Linking liborasdkbase'. Operator error? It se

  • HT4623 Is the latest iOS 7 available for iPad 1?

    Just wondering if the latest iOS 7 is available to an iPad currently using the latest iOS 5.1.1?

  • Aperture 3.4.1

    After Update at 3.4.1 Version Aperture asking me serial number. But i bought it from appstore, so i haven't any serial number. What can i do now?