WebServices and Actionscript3.. a few questions

Hi all,
I've set up a small example where I can connect to an .NET Web Service  in Flash using the Flex library mx.rpc.soap.WebService. So it works  fine... I was just wondering if anyone could give me some advice,  information, urls, suggestions or whatever about sending data objects  from client to server and viceversa.
Some questions arise....
I know there is a RegisterAlias Method in AS3 but im guessing this only  works when using AMF protocols..? So would I have to map my classes  manually each time?
Can I send a data object from client to server? and if I can ... would  it be a Object data type in .NET? How could I access those properties?
aaaaaaand... las question:
Would you recommend using the Headers for authentication with web services.?.. as this application must have also an authentication system.
Many thanks!

Hi all,
I've set up a small example where I can connect to an .NET Web Service  in Flash using the Flex library mx.rpc.soap.WebService. So it works  fine... I was just wondering if anyone could give me some advice,  information, urls, suggestions or whatever about sending data objects  from client to server and viceversa.
Some questions arise....
I know there is a RegisterAlias Method in AS3 but im guessing this only  works when using AMF protocols..? So would I have to map my classes  manually each time?
Can I send a data object from client to server? and if I can ... would  it be a Object data type in .NET? How could I access those properties?
aaaaaaand... las question:
Would you recommend using the Headers for authentication with web services.?.. as this application must have also an authentication system.
Many thanks!

Similar Messages

  • New to IPhone and have a few Questions?

    To start I want to say that I am a long time (25+ years) veteran of technology but am new the the IPhone. My IPhone is not Jailbroken and would like to keep it that way if I can. Allthgouh I did jailbrake it with blackra1n for about 30mins then I did a factory reload and let it be as it started acting stupid once I started installing apps from unofficial sources.;) Im a x86 nerd and NOT a MAC guy. I haven't sat down at a MAC/Apple in about 15/20 years.
    I just got my first IPhone 3Gs/16GB. (Coming from a BlackBerry Curve 8310) the other day and although it is taking some time getting used to, I think I will like it more then I do once I get used to it.
    Anyhow I have a few questions to start off with. I did some googleing already but just want to make sure I understand a few things.
    All though I did the BlackRa1n jail break thing and installed a few apps then it locked up and failed to turn on or something so I did the whole reload from itunes and now its all good. Anyhow.....
    1.) It appears as if one can not run a program from the home sreen and have it run in the background while doing other things? Take the many SIP Clients I have played with in the last 48 hours. Once I open the SIP Client and connect if I hit the physical button below the screen the program closes, thus the sip client no longer works. Pretty much most if not all apps iv installed from the App Store act like this. Is this the case? Does the IPhone not mutitask at all or verywell?
    2.) Are there any SIP Clients that work over 3G? All the ones iv tried say they are for WIFI only. The SIP Clients work fine when on WIFI. It sounds like this is Apples way of controlling/monopolizing the voice/data/voip aspect of the platform/device. Im sure they would lose a lot of money if everyone did what I am trying to do.Just my opinion.
    3.) Maybe I play with it to much but **** the battery dies fast. Is there anyway to optimize the battery at all other then for me not to use it as much?
    4.) How can I remote lock it if I lose it or it gets stolen? I read somewhere this could be done.
    5.) Are there any other Shells/HomeScreens/Themes that can replace the standard 4x4x4 row icons?
    6.) The speaker phone (when on a call) seems kinda low even when turned all the way up. Is there any way to make it louder?
    7.) I am using the built in VPN client to connect to my works PPTP Windows 2003 VPN server but the client randomly disconnects through out the day. Is there any way to have some type of keep alive set or are there any other VPN Clients that I can use?
    Sorry for all this just thought I would ask for feedback.
    Many thanks for any help anyone can provide,
    SomeOneOnLine

    1.) It appears as if one can not run a program from the home sreen and have it run in the background while doing other things? Does the IPhone not mutitask at all or verywell?
    The iPhone SDK does not permit ANY 3rd party apps from running in the background or multitasking. It does provide for push notifications which can simulate certain background activity in terms of receiving external notifications while the app is actually closed. This works reasonably well with IM apps, news, sports, weather, travel updates and some peer-to-peer games.
    2.) Are there any SIP Clients that work over 3G? All the ones iv tried say they are for WIFI only.
    Just how would the SIP server connect to the cell carrier 3G network? Do you know of ANY that do??
    3.) Maybe I play with it to much but **** the battery dies fast. Is there anyway to optimize the battery at all other then for me not to use it as much?
    3G voice and data connections are culprits. Avoid email push and frequent fetching. See this Apple article for detailed suggestions.
    http://www.apple.com/batteries/iphone.html
    4.) How can I remote lock it if I lose it or it gets stolen? I read somewhere this could be done.
    MobileMe Find My iPhone will locate, set a passcode lock and optionally wipe all data from your iPhone. You have to be a MobileMe subscriber.
    5.) Are there any other Shells/HomeScreens/Themes that can replace the standard 4x4x4 row icons?
    No. Apple does not permit this.
    6.) The speaker phone (when on a call) seems kinda low even when turned all the way up. Is there any way to make it louder?
    You can troubleshoot your iPhone as described in the User Guide - restart, reset, reset settings, restore. Or, get hearing aids
    7.) I am using the built in VPN client to connect to my works PPTP Windows 2003 VPN server but the client randomly disconnects through out the day. Is there any way to have some type of keep alive set or are there any other VPN Clients that I can use?
    See this Apple support article:
    http://support.apple.com/kb/HT1980
    BTW, discussion of "unauthorized modifications" such as jailbreaking is prohibited under the forum Terms of Use you agreed to when joining. Best not to even mention it or risk getting your post deleted.

  • Totally new to external hard drives and have a few questions

    Since beginning my search for an external hard drive this morning I have learned that I know very little about this subject. I really have very little knowledge of all the computer lingo used when looking at these devices. I have a few questions regarding this, if someone could help me.
    1. Are all external hard drives compatible with my mac?
    2. Do I need time machine if I have an external hard drive?
    3. I have two PCs in addition to my mac. Can I use the same external hard drive for all three or would I need a separate one?
    Thanks for helping!

    Use a Firewire not a USB drive.
    I have had many reliability issues, and compatibility issues with USB over the years (starting with the original iMac), right up to the PowerMac G5 and Mac Pro - devices not working properly with hubs, needing to be plugged directly into ports on the computer (even though there aren't enough), etc, etc.
    For me Firewire devices cause fewer of these sorts of problems.
    Firewire is "isochronous", basically meaning that you can pump "clocked" data though it in real time. USB works more like TCPIP, with the data chopped up into packets and later reassembled. (Thus, at a minimum, you have latency, that is, the wait for the data to be "put back together".) Second, the Firewire protocol allows more direct address to memory (including mass storage) with minimal intervention of the CPU.
    No collisions, no glitches. Firewire is rock-solid.

  • Just got a Macbook and have a few questions

    Ok, so I just got my Macbook laptop today and because I have never owned a Mac product i just had a few questions
    First off, is it safe to be plugged into the internet right off the bat or do I need to go out and buy some antivirus software? i have heard from some people that macs have built in antivirus and that they are also just in general less likely to get a virus then your average pc.
    also just wondering, when i play a cd the disk reader/laser? whatever you would want to call it makes alot more noise then i expected it to. i didnt know if that was normal or not, and just wanted some opinions from other macbook users. thanks!!

    On these forums, just about anyone you ask will say that there is no reason to get antivirus software. Most mac users don't have any installed. It's not viruses on the mac you really need to be worried about; it's stupid stuff like phishing or scams - things that don't have anything to do with the operating system - that you just have to watch out for. You'll be fine without antivirus software. The thing I really liked about my mac (windows user all my life; switched 6 months ago, haven't regretted it) is that instead of worrying about viruses and keeping my anti-virus/spyware software always up to date, I was just able to start using my mac, right out of the box.
    They do make antivirus software for macs. If you really are that worried about it, go to:
    http://www.clamxav.com/
    The ironic thing is that it checks for windows viruses (someone correct me if I'm wrong) so you don't pass them on. A windows virus won't have any effect on your mac.
    Surf the net. Be productive. Stop worrying. Have fun. Welcome to Apple.
    ...not a bad little slogan
    EDIT - wow, a million people posted while I was writing this reply. meh.

  • Building my first Site, and have a few questions...

    Hi people.
    Despite being a Designer (albeit a non-practicing one at the moment!), I've never done website design before. So, I'm having a go with iWeb to learn some basics, in the hope that my knowledge will improve as time goes on! In the meantime however, I have some questions, which I think I know the answers to, but will ask anyway!
    1) When I add an album, I notice you can choose to have a border round the picture. I know this can be changed for different styles, or even nothing at all. However, I like having a little border round the image-but the one I have comes up white. Is there anyway i can change the border colour?
    2) I want a page with a few links on, but I don't want to have them listed as URL's. Can I make buttons for them? For example, if I wanted to link to the Apple Store, the idea would be to have some sort of button with the Apple Logo in which when clicked takes you to the site. Can this be done in iWeb or should I be looking at more advanced web building programs?
    3) I'm going to have a page with some music interests on-can i make a link for an artist or that particular track that will take you directly to that artist/track in iTunes? Like you click it, it opens iTunes and directs you to that page?
    Any help appreciated!
    Dan

    Dan the 480 Man wrote:
    Or does iWeb re-size them?
    Dan ~ In iWeb click on the iWeb menu and choose Preferences... You'll see a check-box for +"Optimize images on import"+. In iWeb's Help viewer it says:
    Reducing a photo’s file size: Resampling (or downsampling) is a method of reducing a photo’s file size. Downsampling helps your website publish faster and helps photos display and download faster for your visitors.
    Photos you add to a Photos template are imported full size and downsampled automatically when you publish.
    For very large, high-quality RAW and JPG images, you can choose iWeb > Preferences and select “Optimize images on import.” This setting reduces the size of imported images by up to 60 percent so they don’t take up as much space in your Domain file.

  • I am upgrading from 10.3.9 to 10.5 and have a few questions

    I have a 17in iMac G5 1.6ghz currently running on 10.3.9, I have previously asked about how far I can upgrade the OS, and discovered it's to 10.5.
    I have currently got 1x 1gb RAM memory and will be purchasing another chip to mirror this one.
    I have tracked down a retail version of Tiger on amazon
    I need an external hard drive to back up onto and have limited cash. I found the Western Digital 1tb My Book in the apple store for £89, which seems reasonable and my current tiny (and full) hardrive (which was a similar price when I bought it!) is the same make and has worked really well for me so far. My question is whether it will work with my computer in it's current state as it's system requirements say OS 10.4-10.6. Can anybody help me with this?
    I know my actual question doesn't relate to installation but I couldn't think where else to post this.

    Unanswer your question smallbean to attract some responses.
    My contribution: ask the store that is selling the external whether it would suit your G5 Mac.

  • Dented case and AppleCare - a few questions

    Hey all,
    I recently found a dent on the side of my computer that came out of nowhere at all. It's above the USB port on the left side, and there seems to be no sign of damage other than the dent protruding like a sore thumb.
    My questions regards AppleCare. I have looked at casing replacements but those are astronomical in price. So here are my questions:
    My AppleCare expired; can I repurchase it to service my laptop's dent?
    Does AppleCare cover this type of damage?
    Thanks.

    +My AppleCare expired; can I repurchase it to service my laptop's dent?+
    Not once the year has passed.
    +Does AppleCare cover this type of damage?+
    No, but your Home Contents Insurance might ...

  • Thinking of buying a mac mini and had a few questions. D:

    I went to Best Buy a while ago, waited about an hour for help and I couldn't get anyone to help me.
    haha so anyway, I want to get a mac mini. A reason is because I've never used an operating system other than windows, and all windows-based pcs that I've had start slowing down after a month; even with an anti virus program. So hopefully I won't have that problem with a different operating system.
    One thing I wanted to do was to get a small 20-22 in LCD HDTV, would I be able to connect a mac mini onto one? Will it also play HD movies? The reason why I want to get a tv instead of a monitor is because I want to be able to connect a ps3 or xbox on it and play games every once in a while; unless maybe you can do the same with regular pc monitors. Would it be better to get a pc monitor instead? Which would you suggest?
    Thanks lots. :]

    The smallest full HD TV is going to be 32" although it's possible there might be one or two that are 26" in size. Anything smaller is going to be 720p and may support 1080i. The other option would be to get a monitor that size as they will more then likely support up to 1080p although as already mentioned bear in mind they may be difficult if at all possible to connect to a gaming console.
    Having said that they may possibly come with one or two HDMI connections. Sound will be the other issue and you will have to sort out some sort of external sound option. lastly having full HD on anything smaller then a 32" is probably pointless unless you're sitting right up close to the display.
    I currently have my late 2009 Mac Mini connected to a 32" full HD Sony TV via HDMI and it works great. I don't really use it for games though as I have a PS3, 360 and a Wii for that. The Mini goes through my Onkyo surround sound amp to my TV detects it as a 1080p TV. As it's going from mini display to DVI to HDMI I use a separate external JBL 2.1 sound system connected directly to the Mini for the sound. Apparently the Mini is capable of outputting digital surround sound but I've not looked into that yet.

  • Newb up and running, a few questions...

    Ok, so I finally got the HelloWorld example from the docs to compile.  However, when I start illustrator the "Hello World" dialog does not appear.  The PlugIn is listed in the Help > System Info... dialog, and when illustrator shutsdown, the "Goodbye World" dialog does appear.
    At least I got the project to compile and load into AI so I can start playing around with it, but does anyone know why the 1st dialog isn't displaying?  All the code used was directly from the getting started document with no modifications.
    OK, on to debugging.  When I start debugging, I get the following warning:
    If I click yes, the debugging seems to work, though I get an error when I try to step out of my plugin and into illustrator, which I assume is normal.  Is this anything I should be concerned about or can I just ignore this dialog from now on?  Also, is there a setting somewhere to ignore the error when I acidentally step back into AI?  I'm sure I'm going to be doing that alot and it would be nice to have Visual Studio just ignore me at those times.
    I appreciate the help guys, it's been a chore getting this far, but I feel like I've just passed a milestone.

    Looks like it's using ADM.  Here's the code from the getting started guide:
    extern "C" ASAPI ASErr PluginMain(char* caller, char* selector, void* message)
         ASErr error = kNoErr;
         SPBasicSuite* sSPBasic = ((SPMessageData*)message)->basic;
         if(sSPBasic->IsEqual(caller,kSPInterfaceCaller))
              ADMBasicSuite11 *sADMBasic = nil;
              error = sSPBasic->AcquireSuite(kADMBasicSuite,
              kADMBasicSuiteVersion11,(const void**)&sADMBasic);
              if(sSPBasic->IsEqual(selector,kSPInterfaceStartupSelector))
                   sADMBasic->MessageAlert("Hello World!");
              else if(sSPBasic->IsEqual(selector,kSPInterfaceShutdownSelector))
                   sADMBasic->MessageAlert("Goodbye World!");
              error = sSPBasic->ReleaseSuite(kADMBasicSuite,kADMBasicSuiteVersion11);
         return error;
    Stepping through the code, I can see that the MessageAlert method is reached and called, but nothing seems to happen in AI.

  • 0404 and 2ZS a few questions :-)

    Well both cards have arrived and I installed the 0404 first and once I had applied the latest updates and checked it was working as it should I disabled it and installed the audigy 2zs but on restart my pc would crash/restart at the desktop and even refused to run in safe mode. I removed the 2zs card and started windows removed all creatve drivers and apps replaced the card. This time I used the driver only install and it worked no probs. I was wondering if there is a confict between the apps that come with the 0404 and the 2zs? Also would the front mounted panel from my sb live work with the 2zs?

    the_hood,
    This is what you should probably do.
    1) Cleansweep out the 0404 card and remove it from the system
    2) Install the Audigy 2 ZS
    3) Update the Audigy 2 ZS
    4) Disable the Audigy 2 ZS through device manager
    5) Install the 0404
    6) Update the 0404
    7) Reenable the Audigy 2 ZS
    8) Select the Audigy 2 ZS as your default playback device in Control Panel/Sounds and Audio Devices
    At this point the two cards should work fine, your Audigy 2 ZS will be your primary playback card and the 0404 will run inside of Cubase or your other audio software using the ASIO drivers.
    The Audigy 2 ZS is not compatible with the Live! Drive.
    If you need any help during this process, feel free to call EMU support. I used to be on their team and I know the guys over there are really good at fixing things.
    Jeremy

  • Overwhelme​d... Just received my Y2P and have a few questions

    Right out of the box and when I first turned it on, I had to provide them with my microsoft account in  order to complete the initial boot. WHY?!?!? Is there a way to avoid this?
    Chrome - the tabs and address bar are TINY, how do I change it? 
    Each window opened on Chrome opens up at a 100% resolution but my goodness, font is so small. I have to increase the resolution to 200% 
    What happened to the taskbar on the desktop to switch between tabs and windows?! 
    I realize there is some sort of taskbarish thing on the left side but it's not the same. I have been having difficulties with that "taskbar" to respond at the first swipe with the pointer. Closing/signing-off apps is a new adventure as there are no Xs on the upper right hand corner. UGH!
    Switching to the desktop is no easy feat. Don't know where to find the Control Panel. 
    I feel this laptop has a huge learning curve and I feel overwhelmed. HELP!!!  
    With the issues reported and the learning curve involed, I feel I should just move to the macbook air.... sigh!

    TxLittleAngel wrote:
    Right out of the box and when I first turned it on, I had to provide them with my microsoft account in  order to complete the initial boot. WHY?!?!? Is there a way to avoid this?
    It's evil. You have to click the "Create a new account" link and then at the bottom of the form for creating an MSN account is a little link that says "Sign in without a Microsoft account" and that will then let you create a basic local account with a username and password and no Microsoft MSN online rubbish.
    The "tiny fonts and stuff" issue has been much discussed here. You can change the Windows display scaling to make everything bigger (though some applicaitons still have issues with this) or you can run the display at a lower resolution so that everything is naturally bigger. There are a number of threads on this topic.
    Everything else is just standard "Windows 8 is evil how do I get it to behave like old windows??" complaints that everyone has  Apparently it IS possible to eventually get used to the Win 8 way of things but boy, is it frustrating at the start. One tip is that from the start screen you can just start typing and it will bring up the apps page and search box and most of everything is still there that you're familliar with (control panel etc.) you just have to search to find it.
    There are inexpensive 3rd party utilities (from Stardock etc.) that give you back an old style Start button menu, and in 8.1 you can configure it to boot to the desktop instad of the Metro UI if you choose.
    Z.

  • Just ordered my 27" iMac and have a few questions

    Hi there, just ordered my 27" iMac, it's my first mac after using windows based P.C's for years. Luckily I managed to back up all my photo's and music onto external hard drives before the thing crashed, my concern is now how to load the music / photo's onto my new iMac. Many thanks in advance for any advice

    Read through these tips. https://discussions.apple.com/docs/DOC-4053

  • Oracle 9i R2 Installation on RH Linux 7.3 -- Have a few questions.

    Hello,
    I am at the end of the Oracle 9i R2 installation and have a few questions.
    1) The "Agent Configuration Assistant" keeps failing. I get the following message.
    Parameters "orahome" = /opt/oracle/product/9.2.0
    Parameters "nodeinfo" = NODE_VALUE
    Agent Service Failed
    What does this mean and how can I complete Agent Configuration Assistant install?
    2) I completed the Oracle Database Configuration Assistant successfully and created passwords for sys and sysoper (not sure if these were the exact users). Note I did not modify any other users or unlock them.
    How do I log into the sqlplus prompt, what users should I use and how can I create new users and databases?
    Thanks for your help in advance.
    Regards,
    Chris Barone
    [email protected]

    (1) You can probably just ignore the Agent Configuration (are you using the Agent to collect data?)
    (2) sqlplus '/ as sysdba' will log you into the SQL*Plus prompt.
    Rob

  • Owners of the 80GB iPod classic, I have a few questions

    Ok, so I got my 80GB black iPod classic today and have a few questions, one of these I will need you to check something on your classic.
    1: Can you get the digital booklets from the albums purchased on the store on your classic?
    2: Is it normal for the hard disk to make that noise when it's spooling?
    3: I've noticed this, is there a slight delay switching to the "iPod" screen from the screen before it? I need some one to check this.

    All hard disks make a bit of noise. The Classic uses a memory cache to allow it to stop the hard disk and thus save power. When you switch screens, the delay is due to the hard disk spinning up and/or searching for the next thing to display. In short, it's the price we have to play for 80/160Gb of space.

  • A few questions re: installing 10g on a virtual linux machine

    I am in the process of building up a virtual linux box on my XP laptop and have a few questions regarding the networking setup. Purpose is to have a sandbox *nix setup at my fingertips. 
    Here's what I have so far:
    Dell Latitude laptop running Win XP. This is a DHCP machine.
    Installed VMWare Player
    Created virtual machine with OEL 4.8, with NAT network config
    So far, so good. Next step is to install 10.2.0.4 EE on the virtual Linux machine. When installing 10.2.0.4 directly on the XP system, of course I had to install a loopback adapter to provide a fixed IP address for Oracle, all well documented in the installation guide. While it is my understanding that the loopback adapter, as installed and configured on Windows, is primarily a Windows issue, I would expect something of the same fundamental under Linux insomuch as it is still a dhcp machine. However, when checking the relevant installation guide, the section on networking considerations and DHCP simply gave a two-paragraph discussion of what DHCP was. I found no discussion on how to deal with it in a *nix environment.
    This particular vmware setup gives me a choice of 3 network configs - Bridged , NAT, or host-only (private vitrual net shared only with the host) I am currently configured to use NAT because I need outside connectivity (to yum server, etc) but do not want an additional device (ip address) on the real network. I'm guessing I could use host-only most of the time and when I need to access the internet, shut down the db and switch back to NAT.
    This is all new territory for me, so I guess I'm looking at some 'best practices' advice as much as anything.

    Ed,
    I would encourage going for OEL 5u2 or 5u3 and including the oracle-validated package. It makes sure you have all the prerequisites for 10gR2 and makes life much easier.
    I set up dozens of these machines for Oracle U classes. What I started with originally is 2 virtual NIC - a NAT and a Bridged. The Bridged allowed me to access the outside world at any time and was assigned using DHCP from the local network. The NAT I'd configure manually as a static IP, and I used it primarily to provide a second 'virtual network' so the classroom machines could communicate with each other.
    In my latest iteration, I've dropped back to a single Bridged NIC based on DHCP. For Oracle install purposes, I
    - pick a hostname (myhost.oraclass.com)
    - switch to static IP (I've scripted it - edits /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/syscfg/network : hostname) but using the network GUI tool is ok as well
    - I choose the static to macth the DHCP address assigned
    - inject a single line into the /etc/hosts with the new static address, the hostname, and a hostname that I want to publish
    192.168.4.21 myhost.oraclass.com orahost student21.oraclass.com student21
    - set a global env variable (/etc/profile.d/oraprofile.sh (export HOSTNAME=myhost.oraclass.com)
    and after installing Oracle, I switch back to DHCP. Then if I want to travel, I can easily switch the 'static' address as often as I want (also scripted) to match the IP addr the 'host DHCP' provides.
    I've used the NAT. It hands out a DHCP address and usually it works for me (and Oracle) simply by making it static (as above) and letting VMWare container handle it. But every once in a while it seems to 'jam up' and I'd need to fight with it. So I've converted to bridged .. with the help of some scripts I've written.

Maybe you are looking for

  • Java.awt.Dialog in Java 1.6 has a memory leak

    When a modal Dialog opens a modal sub-dialog, the Dialog stays in memory after both the sub-dialog and the Dialog itself is disposed. The field that contains the leaked object is Dialog.modalDialogs (static). The methods which causes the leak are Dia

  • Video capture device bad image/no sound

    Hi !! I bought this "grabby" usb dongle from terratec to record old vhs cassete on my computer, but is doesn't work on linux. (It works ok on win7, so cable-connections problems are excluded) On vlc I did 'open capture device', choose /dev/video0 for

  • What can I get...

    I need a non-copyrighted flat text file of all/most english words... For my java project in which I'm trying to build a spell checker. Please help me out. 10 dukes to the best response.

  • Custom Digital Watermark

    Is there a way to add a custom digital watermark to a labview front panel?  Thanks.

  • Question mark in a Big Q when using firefox

    Seen this question asked ALot, I have this problem and never could find a answer. I have the latest firefox and quicktime, even upgraded to pro, didnt help at all. When I do the same link in IE, the link works fine. I even went to the 3rd party quick