Can not do Flex work with CFMX 7.0.2

I have Flex 2.0 and CFMX7.0.2 on a shared server. Here are the programs that I am trying to run when I get a "TypeError: Error #1034:
Type coercion failed: cannot convert Object@2f044c1 to mx.messaging.messages.ErrorMessage. "error. When I click on the button "Button", it works very well with web services. When I click on the button "Button2", I get the error I mentioned. Thank you very much for your help!

Really, I want to get Flex running 2.0 and have spent hours trying to solve it? I guess that others have the same problem.

Ken.



<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml '
layout = "absolute" >
< mx:WebService id = "a".
WSDL = "[MY URL HERE] / a.cfc? WSDL.
/ >
< mx:Button '447' = x y = "317" label = "Button".
Click = "a.HelloWorld.Send (); "/ >
< mx:DataGrid = "30" x = "75" id = "dgTopPosts" width = "400".
dataProvider = "{a.helloWorld.lastResult}" >
< mx:columns >
< mx:DataGridColumn headerText = "Top Posts" dataField = "f" / >
< mx:DataGridColumn headerText = "Clicks" dataField = "g".
Width = "75" / >
< / mx:columns >
< / mx:DataGrid >

< mx:RemoteObject id = 'b '.
point endpoint = "[MY URL HERE] / flashservices/gateway.
source = "[path to ACCESS MY HERE] /a" >
< mx:method name = "helloWorld2" >

< / mx:method >
< / mx:RemoteObject >
< mx:Button '447' = x y = "357" label = "Button2".
Click = "b.helloWorld2.Send (); "/ >
< mx:Text = "30" x = "175" htmlText = "company:"
{b.helloWorld2.lastResult.helloWorld2Result}"/ >}
< / mx:Application >



a.CFC (cfmx702 server):

< cfproperty >
< name cffunction = "helloWorld" = "remote access".
ReturnType = "query" >
< cfset = QueryNew ("f, g") >
< cfset temp = QueryAddRow (a) >
< cfset temp = QuerySetCell (one, "f", "ok", 1) >
< cfset temp = QuerySetCell (one, "g", "then", 1) >
< cfreturn one >
< / cffunction >

< name cffunction = "helloWorld2" = "remote access".
ReturnType = "string" >
< cfreturn 'Hi' >
< / cffunction >
< / cfproperty >


I finally got the remote server, shared with CFMX 7.0.2 works with Flex 2.0 via AMF application!

Here's how I did it:

http://www.kenreiss.com/blog/index.cfm/2006/8/10/Flex-20-with-CFMX-702--success

Thank you all for your help!
Ken.

Tags: Flex

Similar Questions

  • R7000-can not get to work with iptv

    Hi, I have problems to make my r7000 working with plusnets iptv... Recently signed to it and they sent me their shitty router that feeds their iptv perfectly but I can't figure out how to get the nighthawk for this...

    Current firmware 1.0.4.30. in advanced settings, there is an option allowing to the VLAN / bridge I had some success using: iptv works for a bit, but not internet traffic outside of iptv is passed to the youview box - so can't watch netflix etc. It stops also work after I have change the channel so it does not seem in any case the right fix

    PlusNet cannot provide me details for tag vlan, so don't know not where to go from there... every time I have activate the Internet is not just connect - tried VLAN 10, 101, 301 and the thing that I could think of...

    I read that there is an option to enable the VLAN / IPTV on some firmwares, but I don't see "enable VLAN / Bridge" on mine.
    This feature is still supported on the R7000? or would be running DD - WRT work?
    I hope someone can help
    Thank you

    bill1228 wrote:
    Cannot talk about DD - WRT and IPTV, but later XVortex firmware supports IPTV and is made to work. Of course, there is the matter of that will work with your provider?
    Link to this info:
    http://www.linksysinfo.org/index.php?threads/asuswrt-Merlin-on-NETGEAR-r7000.71108/page-11#post-2636...

    Link to the news of the firmware:
    http://www.linksysinfo.org/index.php?threads/asuswrt-Merlin-on-NETGEAR-r7000.71108/

    Works fine on my r7000.
    -Bill

    And we have a solution! Flashed the CFW, a quick reboot of the router, and a bit of higgery pokery - work with enabled IPTV YouView.

    Here's a note in case others run into this forum and fall into the same obstacle. These are the settings you need once you have flashed the CFW:

    You must configure 'Enable VPN + connection DHCP' to 'No' to the terms of the WAN option.

    Parameters used were:

    -Have the router to the latest firmware: 3.0.0.4.374.130

    -Use the following settings in the LAN > IPTV:

    -"Select the ISP profile" = None

    'Choose the Port STB IPTV' = None

    -"Use DHCP routes" = Microsoft

    -"Enable routing multicast (IGMP Proxy) = enable".

    'Enable the effective transfer of multicast (IGMP Snooping) = enable ".

    -' UDB Proxy (Udpxy) = 0

    I hope this proves use for others in the future and thank you for all your help.

  • I moved my HP Office Jet printer on my desktop and am not able to work with it now. Help me - what can I do to get it back on my list of printers Control Panel?

    I moved my HP Office Jet printer on my desktop and am not able to work with it now. Help me - what can I do to get it back on my list of printers Control Panel.

    Hi Liz L,.

    You can try to run the printer Troubleshooter and check.

    Printer in Windows problems

    You can also check out the following link to add the printer.

    Add or remove a printer

    Hope this information is useful.

  • I can not get my work window Defender

    I hit the defender of the window and I can not go to work it says contact your computer peron and he says to activate Group Policy

    Hello anonymous 334,

    Thanks for posting on the Microsoft answers Forums.

    Make sure you have Windows Defender active:

    1. Open Windows Defender by clicking on the button start , clicking all programs, and then click Windows Defender.

    2. Click on tools and then click Options.

    3. Under the administrator options, select or clear the check box use Windows Defender and then click Save. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

      Do you have any other type of antivirus installed on your computer? What other security products are installed on your host computer (anti-virus, anti-malware, anti-spam, firewall, etc.)?
      These can interfere and stop Windows Defender from work. I would try and disable the other product temporarily and see if Windows Defender starts.

      When you enter the Services (services.msc), the Windows Defender service applet is listed for the automatic start mode? This is shown as disabled, then it never starts.
      If it is shown as currently stopped (with automatic or manual startup mode), can manually start you it?

      You have errors where the viewer in the application log dealing with Windows defender? If so, then that can give you a clue as to what is perhaps the problem.

      If please reply back and let us know the results of your tests.

      Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • After factory reset, I can not connect my iphone6 with itunes

    After factory reset, I can not connect my iphone6 with itunes

    What happens when you try? You get errors? -AJ

  • I can not reset my work going on in hotmail.

    I can not reset my work going on in hotmail.

    You will find support for Windows Live Hotmail in these forums: http://windowslivehelp.com/forums.aspx?productid=1

  • User profile hive cleanup service do not appear to work with Vista!

    HII,
    The user profile Hive Cleanup service do not seem to work with Vista. Does
    Anyone know equivalent that please. Thank you.

    You should post the question with all the details in the forum on TechNet here server:

    http://social.technet.Microsoft.com/forums/en/categories/ MS - MVP - Elephant Boy computers - don't panic!

  • I am trying to open a link from an email and get a box that says "can not be done, check with administator.

    I am trying to open a link from an email and get a box that says "can not be done, check with administator.

    "operation can not be performed, check with administator.

    I bet he has not said who and what he says is "this operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.

    If this is the case a Google or Bing on this error message would have given thousands of messages all ask the same question and all with the same answer...

    http://www.slipstick.com/problems/this-operation-has-been-cancelled-due-to-restrictions

    Please a) quote the correct error when you post here and not a paraphrase and b) Please use Google or Bing (or another search engine) first of all that most of the questions have already asked and answered.

  • I did an installation 22.00 per month plan and can not install Photoshop, only with the lightroom

    I did an installation 22.00 per month plan and can not install Photoshop, only with the lightroom

    Hi Alex % 20arc,.

    You can troubleshoot Adobe Creative cloud download, install and update questions and we invite you to update the discussion in the case where you need help with this.

    Thank you

  • I installed Photoshop CS6 extended (student version) on my Mac in May last year. It has worked perfectly until recently when the system tells me that the program is perhaps not able to work with OSX (I have OSX 10.9.5). I have now uninstalled the PS one a

    I installed Photoshop CS6 extended (student version) on my Mac in May last year. It has worked perfectly until recently when the system tells me that the program is perhaps not able to work with OSX (I have OSX 10.9.5). I have now uninstalled the PS application and you want to reload. I have the S/N codes and redemption. How should I proceed?

    Please visit to download applications download Creative Suite 6 .

    Kind regards

    Hervé Khare

  • sick. Why can CS3 - I only work with a single sheet on the desk? I want to make a multi page document...

    sick. Why can CS3 - I only work with a single sheet on the desk? I want to make a multi page document...

    Use this ancient workaround:

    Create a mutli-page PDF | Illustrator

  • GarageBand can not load more songs with VST (Korg Legacy Collection)

    Hello world

    until recently, I used Garageband and built a song with the KORG Legacy Collection, especially the WAVESTATION VSTs. In early April, I got an update to version 10.1.1 GarageBand and now GarageBand can no longer use the VST:

    Audio unit plug-ins cannot be used

    Unity Audio "WAVESTATION" could not be transmitted for your project and may need to be updated. Contact the manufacturer for an updated version or get help.

    The WAVESTATION plugin has worked with the old version of GarageBand 10.x, I propose to downgrade back Garageband. How this is done?

    Hello world,

    instead of a downgrade, I found a way to make the plugin once again. I had to run this command

    ln s ~/Library/Application\ Support ~/Library/Containers/com.apple.garageband10/Data/Library/Application\ Support/KORG /.

    And now everything works fine.

    Source:

    http://www.korgforums.com/Forum/phpBB2/viewtopic.php?t=94619 & highlight = garageban d

  • I can't my NB200 working with MSM webcam

    I can not get my web cam work on msm.
    I've updated my webcam driver, uninstalled and installed window again but that did not work,.

    Any ideas?

    Hello

    Do you get any error messages?

    Have you checked if the internal webcam has been selected in MSN?
    Do this!

    I also recommend remove the entry of the webcam of msconfig-> Startup tab.
    Just uncheck/disable the autostart webcam.
    The same thing should be done with MSN.

    Once windows has started, the webcam software is not in the taskbar
    Simply start MSN and check if the webcam settings are ok.

  • Qosmio F30: Can not connect to internet with WiFi safely

    I recently purchaced a Toshiba Qosmio F30 laptop and have spent the better part of two days trying to connect to wireless internet. After constantly call Wanadoo (my provider) and accusing them for all this, I thought that the laptop itself is at fault.

    What happens is when I try to enter my network key (WEP), default is a different key that I can't see that it's all in the points! This continues to be and im am totally unable to enter my network key. Until it is I turn off security on my livebox thingy and connect unsecurely and as I live in close proximity apartments, other people can and probably will connect to my internet, and I am also told that makes me more at risk of viruses and other.

    I apologize for my lack of technical jargon, and that I can not give a more descriptive... uh... description, but I'm just a beginner and not the most in computer science.

    Any help would be appreciated more!... Why is nothing simpler!

    Hi Luke,.
    Have you tried WAP (shared key) instead of WEP.
    In this way, you will need to make your own key instead of having the it generated by the router.
    It is also safer.

    To do this, you must enter the settings of your router (usually http://192.168.1.1 or http://192.168.0.1), enter the password provided by Wanadoo, then click Security. Change the setting WEP WAP (or shared key) and enter a 10digit password then you will need to enter it again when your computer tries to connect to the router again.

    It is best to use a wired connection to change settings, then disconnect the cable and wireless.
    If you notice that you are connected wireless to the router, and your internet connection is dead, temporarily disable the LAN (reactivate when you are satisfied with your connection works). This would happen if your computer includes your wireless network connection to other computers and the wired connection like you internet connection (even if there is no wire connected).

    It is also important to change the administrator name and password to access your router (this would prevent your neighbors children playing to change your settings).
    Let me know if you have more problems.

  • Can not put on wireless with FN + F8 on my Satellite L750D - 19 c

    Hello

    I can't put on wireless with FN + F8 on my Satellite L750D - 19 c with windows 7. It stopped work at shot, and I cant get it up and running again. I tried to install the latest drivers and the disabled option 'save energy '.

    / Magnus

    Hello

    I have the same problem with my satellite L670.

    The FN keys do not work and I am not able to use my Internet connection. : () o

    I used to get these buttons to apear on the top of my screen to get the mouse towards the edge.

    So I could turn the wireless on / off power with the mouse.

    But these "maps" doesn't apear. Or my settings on the camera to the left of the screen.

    Thank you very much.

    Post edited by: PearlSabian

Maybe you are looking for

  • Firefox is not responding

    I restarted the computer, Firefox starts but won't load any pages except in safe mode. It does not meet 'three horizontal bars' icon at the top left. I can do the Edit file... menu appears and the drop-down menus appear, but it wil not load pages.In

  • Siri stops too soon

    WWhen take notes with Siri when I stop, it stops. I just tried to keep the home button while talking, but it stopped again. Is anyway to fix this? I have not tried to dictate an email, but I don't seem to have the same problem with the dictation of t

  • Hi, I received an email today that I suspect is not authentic.  Who can I send this message through, to check if it is please?

    Hi, I received an email today that I suspect is not authentic.  Who can I send this message through, to check if it is please?

  • Cannot start my dell XPS because I downloaded the Vista updates.

    I downloaded updates this weekend Silverlight being a.Since then, I can no longer boot my computer.No USB port is active. Directly monitor goes in power saving mode.Cannot use a PS/2 port for keyboard.I had this happens about 2 weeks ago and you coul

  • MS updates do not install

    A few months I get recurrence for .NET Framework 2.0 SP2 updates.  After installation by using the custom installation, these 3 updates are reported as successful installation.  However, if I run the update check again the same 3 updates are availabl