Flex Webservice in swf question - apache-flex

I'm trying to use for getting infomation from an WSDL file online. I have no problem running and testing in my FLEX 3 builder. However, After I export release build into SWF file. The program doesn't work even running local. IE/firefox said "transferring data from http://www.webservicex.net" on the status bar and doesn't response.
This is my code for webService tag:
<mx:WebService id="stockWebService"
wsdl="http://www.webservicex.net/stockquote.asmx?WSDL"
fault="handleFault(event)" result="handleResult(event)"/>
I try to google the problems but cannot found the answer. Can someone please help me? Thank you very much for you time!

Related

ERROR ITMS-9000: “No architectures in the binary"

I am getting an error trying to upload an app to the iOS store.
The application was developed using FlashBuilder 4.7 and Flex 13.0.
ERROR ITMS-9000: “No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.” At SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
Does anyone have any ideas as to what this error is? Any help would be appreciated.
Thanks.
Try to fix your application.xml:
<iPhone>
<InfoAdditions><![CDATA[...
<key>MinimumOSVersion</key>
<string>6.0</string>
]]></InfoAdditions>
I found solution of my question after lots of try. After updating an air sdk still I got this issue.
Solution of this issue is simple.
We don't need to use any digit in app Id.
for example:
App was not submitteds app id contains digit like com.adobe.sample.7th
then I created new app having app id like com.adobe.sample.seventh and I was able to submit this app to store.

SignalR StockTicker example not working

Hello and thanks for trying to help :).
I am currently attempting to learn basic signalR so I downloaded the library with NuGet to an existing application to test it out.
The existing app is written in VB (not sure if thats a problem or not)
Error im receiving is "ticker is undefined" which from what I understand is the connection string.
Now Ive read that it MIGHT be the hubs dir which seems to be working fine. So i'm stuck. Any idea's would be great.
Figured it out. Turned out that because the app was written in vb I had to add a cs code to the app code folder and then map it in the web.config.
For me this was solved because i wasn't including the auto generated file "../signalr/hubs"

Using HighchartsExport Library for .Net I am getting Blank Page

I am working on embedding HighStock/HighCharts into our site and we want to enable users to export the charts without sending the data off to the HighCharts servers to render the jpg/pdf/svg etc. The only ASP.NET wrapper I could find is this. This worked well on a local demo build but integrating this into our product site is giving a blank page for:
http://oursite.com/path/where/called/HighchartsExport.axd
Following the sparse documentation I verified that I had added a reference to the 3 DLLs needed. Our site already uses the requestValidationMode needed (2.0). So I added just the httpHandlers item:
<add verb="POST" path="HighchartsExport.axd" type="Tek4.Highcharts.Exporting.HttpHandler, Tek4.Highcharts.Exporting"/>
I am not sure what else is needed here to get this to work. Any help would be greatly appreciated.
Perhaps it helps to run a chart.getSVG() before you send the SVG to the ASP.NET export-module. This will sanitize the SVG representing the chart.
When this asp exporting module isn't working for you, you could consider using PhantomJS and run a shell command with the Highcharts convert script for PhantomJS. Or perhaps run this script as an internal webserver and do an POST request from your .NET application. This is how the java export-server of Highcharts is working in general. Read more on Highcharts, PhantomJS and exporting to images here
I faced a similar issue before, the issue was in a part of the HTML rendered that caused error while exporting.
if there is a clip-path tag in your chart HTML, try to remove it before export.

flex3 autoupdater error

Dear all, I am working on flex3 and want to update my application by flex3 autoupdate. When my installed application runs, my checkUpdate function calls the autoUpdater code. It starts but when it reaches to 100%, it shows this error: "There was an error downloading the update. Error# 16824"
My mxml code is here http://tinypaste.com/92138b and server xml code is here http://tinypaste.com/e3792
Please guide me.
Many Thanks
Google is your friend for this one; it looks like you forgot to update the application descriptor version number in the updated version on the interweb.
http://dezeloper.wordpress.com/2010/01/21/adobe-air-updater-error-16824/
I was unable to see your code as our work router blocks tinypaste. That said, however, I can tell you that air updates done via the ApplicationUpdater class are all based upon the updater xml file that you create/copy-out-there, and the xml file used for the compiler that sets the filename, version, application ID, etc. (most of which is used for the exe-compiler/exe-wrapper that facilitates the "bridge" between the OS and your compiled actionscript code). This link, might help: dezeloper.wordpress.com.
All-in-all keep debugging. The ApplicationUpdater class is one that was relatively well-written and is pretty self-explainable... once you get past this bug, there are a couple more that might be a sync-the-xml-text pain-in-the-butt. For example... I can tell you that in AIR 1.0 (and this may still be true in recent releases) if you made a change to your application xml file, and you're compiling from eclipse/flexBuilder/flashBuilder, you had to "project > clean" for those xml options to get picked up.
Best of luck,
Jeremy

Flex - Passing request data with URL fragments

I'm passing the following parameter as an url fragment to flex. (#groupID=2385)
This works great on the development box, but when I put it on the production server.. nothing.
Do you think this is a server configuration issue. I presume that flex is talking to the javascript file 'AC_OETags.js' to make this all happen.
Any pointers much appreciated.
Thanks
Do you have access to "history.js", "history.css", and "historyFRame.html" on release? They should be packed into your release folder as well as the AC_OETags.js if you're using the browser history in flex.

Resources