[flexcoders] HTTPService retrieves no data within itemrenderere

2012-10-04 Thread kaushal.shah123
I have an Horizontal list that is connected to patients arraycollection. I've created an Canvas Itemrenderer for the horizontal list that lists the patient's medical information. Within the itemrenderer, I am calling out to a PHP HTTPService call to retrieve the visits for each patient.

[flexcoders] httpservice url - not use host

2012-05-03 Thread Sells, Fred
Since the Flex crossdomain policy would normally restrict you to the server that launched Flex, is there any way to avoid specifying the whole http://myserver.mydomain.com prefix in the httpservice.url parameter similar to the action in html forms? I'm trying to make it easier to move my

[flexcoders] HTTPService in Proxy with authentication.

2012-04-20 Thread Wemerson Couto Guimarães
Greetings! I use HTTPServices to access our server, but in some clients the internet access is by authenticated proxy. How do I set my HTTPService to access using a specific port and proxy connections to exit? The proxy / firewall uses port 3128. All browsers must be configured to use that port

[flexcoders] HttpService resultHandler in different Window

2012-02-13 Thread isa_loyer
I am working on an AIR application with 2 windows: One to create a new customer and another to display some information about the customer. On window 1, there is also a textfield to search for a customer by Id or name. These are the steps to create a new customer: with an add button on window

Re: [flexcoders] HTTPService post to return an image?

2011-11-03 Thread Rogerio Gonzalez
top go URLLoader. C -- *From:* method_air loudj...@hotmail.com *To:* flexcoders@yahoogroups.com *Sent:* Tuesday, November 1, 2011 7:03 PM *Subject:* [flexcoders] HTTPService post to return an image? Is it possible to return an image object using HTTPService

Re: [flexcoders] HTTPService post to return an image?

2011-11-03 Thread Tunde Majolagbe
TWO each.*Calm Down!!!  It’s just a mirage, like other worries it will soon fade away.    --- On Tue, 1/11/11, method_air loudj...@hotmail.com wrote: From: method_air loudj...@hotmail.com Subject: [flexcoders] HTTPService post to return an image? To: flexcoders@yahoogroups.com Date: Tuesday, 1

[flexcoders] HttpService error handling

2011-11-02 Thread Sells, Fred
I'm using Flex 4.1 with a django backend. Django provides a really useful HTML error traceback when it fails. Currently I then have to manually insert the offending url into the browser url to see the error details when debugging. That's a pain. I would like to subclass HttpService to provide

[flexcoders] HTTPService post to return an image?

2011-11-01 Thread method_air
Is it possible to return an image object using HTTPService? The fault method executes when I attempt to do this: var http:HTTPService = new HTTPService(); http.url = myScript.ashx; http.method = POST; http.resultFormat = object; Should URLLoader be used instead? Cheers, Philip

Re: [flexcoders] HTTPService post to return an image?

2011-11-01 Thread claudiu ursica
HTTPService cannot handle binary data and images fall under this category. U have top go URLLoader. C From: method_air loudj...@hotmail.com To: flexcoders@yahoogroups.com Sent: Tuesday, November 1, 2011 7:03 PM Subject: [flexcoders] HTTPService post to return

[flexcoders] HttpService results inconsistent

2011-08-24 Thread Sells, Fred
If I have multiple records in the response I get an ArrayCollection however if I have only 1 record I get an ObjectProxy. I'm not sure if specifying the resultFormat would resolve this and if so, which format is appropriate. I typically map the results to an ArrayCollection which is the

Re: [flexcoders] HttpService results inconsistent

2011-08-24 Thread Alex Harui
http://blogs.adobe.com/aharui/2007/03/arraycollection_arrays_and_ser.html On 8/24/11 6:22 AM, Sells, Fred fred.se...@adventistcare.org wrote: If I have multiple records in the response I get an ArrayCollection however if I have only 1 record I get an ObjectProxy. I’m not sure if

Re: [flexcoders] HTTPService DELETE/PUT automatically got changed to GET??

2011-08-20 Thread Peter Coppens
Fwiw... As far as I know that is indeed still the case. The doc (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/http/mxml/HTTPService.html) says You use the mx:HTTPService tag to represent an HTTPService object in an MXML file. When you call the HTTPService object's

[flexcoders] HTTPService DELETE/PUT automatically got changed to GET??

2011-08-19 Thread handitan
Hi all, I just would like to get a confirmation. Right now, I have to use 3rd party REST APIs in our Flex app. A bunch of the REST APIs are using DELETE and PUT method. As the title said, they got changed automatically to GET. And from what I gather from this forum somebody said this in 2008:

[flexcoders] HTTPService e4x Error #1095: XML parser failure: Unterminated attribute

2011-08-08 Thread isa_loyer
Dear Flexer, I'd like to load data from my database with an httpservice and result on e4x format. If on php side, I add only 12 row all works well, but if I try to load more than 12 rows this errror appear Error #1095: XML parser failure: Unterminated attribute. Can you help me to solve

[flexcoders] HTTPService timeout?

2011-08-02 Thread georgemeng2011
Hello, I have very simple code to call a simple PHP page. PHP page will insret 2000 records to mysql table, takes about 2 minutes. On PHP side, it is fine, I tested the php page within browser, it ran for 2 minutes and stoped. (I have configured on PHP to run longer than normal.) One Flex

Re: [flexcoders] HTTPService timeout?

2011-08-02 Thread Rishi Tandon
Have you check the network monitor in flash builder 4? Sent from my iPhone On Aug 2, 2011, at 5:16 PM, georgemeng2011 georgemeng2...@gmail.com wrote: Hello, I have very simple code to call a simple PHP page. PHP page will insret 2000 records to mysql table, takes about 2 minutes. On

[flexcoders] HTTPService not updating...

2010-08-17 Thread Laurence
Ok. I have the following HTTP Service declared: mx:HTTPService id=reportDataRPC url=reports/xml/{_reportInfo.fileName}.xml result=rdHandler(event); fault=rpcFaultHandler(event);/ In the init() function (which is called when the 'show' event happens, because the page it's

Re: [flexcoders] HTTPService not updating...

2010-08-17 Thread Jake Churchill
It might be getting cached. nbsp;Try adding a timestamp to the end of the url (ie url/myfile.xml?timestamp={currentTimeStamp} ). Before you all the .send() method, reset the timestamp variable to the current time. nbsp; -Jake -- Sent from my Palm Pre On Aug 17, 2010 6:23 PM, Laurence

Re: [flexcoders] HTTPService not updating...

2010-08-17 Thread dorkie dork from dorktown
it's prob accessing it from the cache. instead of this, url=reports/xml/{_reportInfo.fileName}.xml use this: url=reports/xml/{_reportInfo.fileName}.xml?time={getTimer()} that snippet might not be bindable so add the time in code whenever you access that file On Tue, Aug 17, 2010 at 6:17 PM,

[flexcoders] HTTPService

2010-06-06 Thread Akila
I am having difficult in sending an XML request from flex application. The request sent in the server log replace all , , and with lt;, gt; and amp; , respectively, in an XML before passing it as parameter to a HTTPservice call Here is sample code mx:HTTPService id=CCAPI_discover_Search

[flexcoders] httpService useProxy

2010-05-01 Thread Paul Andrews
I have an app which accesses quite a few php urls returning XML that sit in the same directory and domain as the main app. I use a common prefix to the file paths yet for some reason I have flex moaning to me about setting useProxy to false yet it seems to be false already - much time with the

Re: [flexcoders] httpService useProxy

2010-05-01 Thread Paul Andrews
On 01/05/2010 09:16, Paul Andrews wrote: I have an app which accesses quite a few php urls returning XML that sit in the same directory and domain as the main app. I use a common prefix to the file paths yet for some reason I have flex moaning to me about setting useProxy to false yet it seems

[flexcoders] HTTPService not returning ArrayCollection...

2010-03-10 Thread Laurence
I'm trying to read data from an XML file, and put that data into an ArrayCollection. This works great when I have more than one object in the XML file. But when there's only one object in there, my HTTPService RPC returns it as an Object instead of an ArrayCollection of Objects. So when I

Re: [flexcoders] HTTPService return times Air vs Flash (Solved - Kinda)

2010-02-20 Thread Lee Jenkins
Lee Jenkins wrote: Web based flex applications seem to take magnitudes longer to return a result than do Air based application. I've tried with HTTPService and URLLoader components and it is the same. I've created one small air application and one small web based flex app

[flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Lee Jenkins
Web based flex applications seem to take magnitudes longer to return a result than do Air based application. I've tried with HTTPService and URLLoader components and it is the same. I've created one small air application and one small web based flex app identical. Air app is almost

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Lee Jenkins
Lee Jenkins wrote: Web based flex applications seem to take magnitudes longer to return a result than do Air based application. I've tried with HTTPService and URLLoader components and it is the same. I've created one small air application and one small web based flex app

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Lee Jenkins
Lee Jenkins wrote: Lee Jenkins wrote: Web based flex applications seem to take magnitudes longer to return a result than do Air based application. I've tried with HTTPService and URLLoader components and it is the same. I've created one small air application and

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Jochem van Dieten
On 2/11/10, Lee Jenkins wrote: Everything including server is running local on my computer (3 Gigs of RAM, Vista 32bit) and just to be sure, I disabled all add-ins and plug-ins for Firefox and the result is consistently the same. Using either a URLLoader or HTTPService to pull down xml,

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Jake Churchill
I've been told that Firefox limits the amount of processor power that the flash player plugin is allowed to use. That may be your problem. Perhaps it also limits network usage/bandwidth. I can't confirm this is true but your results seem to point that direction. FYI, FF 3.6 was recently

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Lee Jenkins
Jochem van Dieten wrote: On 2/11/10, Lee Jenkins wrote: Everything including server is running local on my computer (3 Gigs of RAM, Vista 32bit) and just to be sure, I disabled all add-ins and plug-ins for Firefox and the result is consistently the same. Using either a URLLoader

Re: [flexcoders] HTTPService token: a bug or by design?

2010-02-09 Thread Tim Romano
To answer my own dumb question. var token: AsyncToken; token = send(); var myResponder : AsyncResponder= new AsyncResponder(onResult, onFault, token); token.addResponder(myResponder); function onResult(e:ResultEvent , token:Object=null):void {} On 2/8/2010 6:05 PM, Tim Romano wrote: I've

[flexcoders] HTTPService token: a bug or by design?

2010-02-08 Thread Tim Romano
I've run into one bug in the mx.rpc.http.HTTPService class in FB4 beta 2 -- the AsyncResponder's onResult function fires *twice* unless you wire up a dummy eventhandler. And so I am wondering if the following is not also a bug: var myResponder : AsyncResponder= new AsyncResponder(onResult,

Re: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-13 Thread Tim Romano
Tracy, Yes. Thanks for the info. Tim On 1/13/2010 12:51 AM, Tracy Spratt wrote: You are using Firefox, I bet. I have sent this behavior and I think it is just a bug in FF. Tracy Spratt, Lariat Services, development services available The status bar says Transferring data from

[flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Tim Romano
I started learning FlashBuilder/Flex by diving in and writing an AIR application against SQLite with asynchronous connections and Responder objects. The responder's resultsHandler is passed a flash.data.SQLResult object that exposes a complete status property. Lovely. Now I am trying to

RE: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Battershall, Jeff
? Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Romano Sent: Tuesday, January 12, 2010 2:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via

Re: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Tim Romano
Jeff, Thanks for the reply. I am confused by the behavior of my Flex app. The status bar says Transferring data from localhost... and that status message never goes away. But, as you suggested, the data are complete: I pop the raw JSON string returned by the webservice into a TextArea, and

RE: [SPAM] Re: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Tracy Spratt
:31 PM To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete? Jeff, Thanks for the reply. I am confused by the behavior of my Flex app. The status bar says Transferring data from

[flexcoders] HTTPService Internet Explorer

2010-01-09 Thread criptopus
I set up a popup TitleWindow which sets up a HTTPService and do a FindAll, I listen for the data coming in and then populate my datagrid. I then make some changes and post them off to the service and then close the popup. When I open the popup again and the data is re-read in Firefox it is

RE: [SPAM] [flexcoders] HTTPService Internet Explorer

2010-01-09 Thread Tracy Spratt
, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of criptopus Sent: Saturday, January 09, 2010 10:55 AM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] HTTPService Internet Explorer I set up a popup

Re: [SPAM] [flexcoders] HTTPService Internet Explorer

2010-01-09 Thread criptopus
Yup managed to sort it out. Stuck the time into the URL string to make it unique var dNoCache:Date = new Date(); params.nocache = dNoCache.getTime().toString(); :) - Stephen

Re: [flexcoders] httpservice listener

2009-08-23 Thread Ivan Wang
: [flexcoders] httpservice listener When using mxml httpservice mx:HTTPService id=hsNutrition url=/main.php/flexnutrition/nutritioncal fault=nutritionFaultHandler(event) resultFormat=e4x/ I call the init on app load private function init():void { hsNutrition.addEventListener

[flexcoders] httpservice listener

2009-08-22 Thread advancedonsite
When using mxml httpservice mx:HTTPService id=hsNutrition url=/main.php/flexnutrition/nutritioncal fault=nutritionFaultHandler(event) resultFormat=e4x/ I call the init on app load private function init():void { hsNutrition.addEventListener(ResultEvent.RESULT,

[flexcoders] httpservice what does this error mean?

2009-08-18 Thread hworke
Hi I am reading a RSS feed and handling the result with the following function: public function toolResultHandler(event:ResultEvent):void { var f_Array:ArrayCollection = new ArrayCollection; f_Array = event.result.RDF.item as ArrayCollection; if (f_Array!=null)

[flexcoders] httpservice to arraycollection?

2009-06-08 Thread flexaustin
Ok, its late and I am falling asleep. Can someone be another pair of eyes for me? If httpservice call with IResponder how can I turn my result object which is this: mylist entry type=building name=house conn_name= conn_type= /\ entry type=building name=car conn_name= conn_type= / entry

[flexcoders] HTTPService HTTPChannel 2032 Channel.Ping.Failed trying to do asimple form post

2009-05-29 Thread ciminop
I must be missing something since I'm trying to do something fairly basic. It really can't be this difficult, can it? I'm trying to use the HTTPService to post to a form. No web services. And I even put a crossdomain.xml policy file on the server for good measure. First I got the dreaded 2032

RE: [flexcoders] HTTPService HTTPChannel 2032 Channel.Ping.Failed trying to do asimple form post

2009-05-29 Thread Peter Farland
application's /WEB-INF/flex/services-config.xml file using the -services option. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ciminop Sent: Thursday, May 28, 2009 10:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

Re: [flexcoders] httpservice error #2032

2009-05-26 Thread [p e r c e p t i c o n]
If you are using a windoze machine you can see the request being handled in the command window..i don't think the url is correct On Mon, May 25, 2009 at 9:35 PM, flexaustin flexaus...@yahoo.com wrote: I cannot seem to get my SWF to talk to my rails app. i am getting the following error code:

Re: [flexcoders] httpservice error #2032

2009-05-26 Thread Dave Cragg
On 26 May 2009, at 05:35, flexaustin wrote: _httpservice.url = /ditto/myfunction; Shouldn't that be _httpservice.url = ditto/myfunction; Cheers Dave Cragg

[flexcoders] httpservice error #2032

2009-05-25 Thread flexaustin
I cannot seem to get my SWF to talk to my rails app. i am getting the following error code: Fault: increment node clicked stat fault[FaultEvent fault=[RPC Fault faultString=HTTP request error faultCode=Server.Error.Request faultDetail=Error: [IOErrorEvent type=ioError bubbles=false

[flexcoders] HTTPService not behaving properly?

2009-05-12 Thread Laurence MacNeill
I don't get it. I've got an ArrayCollection being populated by an HTTPService call, and it only works like half the time. If I add a couple of break points to the program, and Debug it, then it works 100% of the time -- it's acting like there's just not enough time to load the thing into

[flexcoders] HTTPService not behaving properly?

2009-05-12 Thread laurence5905
I don't get it. I've got an ArrayCollection being populated by an HTTPService call, and it only works like half the time. If I add a couple of break points to the program, and Debug it, then it works 100% of the time -- it's acting like there's just not enough time to load the thing into

[flexcoders] HTTPService mistery

2009-04-22 Thread markgoldin_2000
Is it possible that on low end computers HTTPService.send command would take up to 10 or more times longer than on a more or less decent computer? Is there a way of tracking HTTPService.send command? Thanks

RE: [flexcoders] HTTPService mistery

2009-04-22 Thread Tracy Spratt
Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 7:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService mistery

[flexcoders] HTTPService using underscores in variable names not working with POST...

2009-03-30 Thread joel.sisko
Newbie problem, I think, I need to POST to a php script that has underscores in the variables names. Using the code below the underscores are sent as 5F So the result is: http://localhost/admin/index.php?sec=useradmin5Faction=addplace5F=2 mx:HTTPService resultFormat=text

RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-20 Thread Gregory Kelley
[mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Thursday, March 19, 2009 9:20 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 This is probably happening because you have left the resultFormat at the default object

Re: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-20 Thread Paresh M More
-- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Tracy Spratt *Sent:* Thursday, March 19, 2009 9:20 PM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 This is probably happening because you have

[flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-19 Thread Gregory Kelley
I have the following line in the xml returned from the call. rsp stat=ok typePartner/type object inv_text_end_dt= is_comm_paid=0 override_type_id= / /rsp When I reference event.result.rsp.is_comm_paid the result is 0 Now if I pull a record where the value is 1 then the xml looks like rsp

RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-19 Thread Maciek Sakrejda
: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 I have the following line in the xml returned from the call. rsp stat=ok typePartner/type object inv_text_end_dt= is_comm_paid=0 override_type_id= / /rsp When I reference event.result.rsp.is_comm_paid the result is 0 Now if I pull

RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-19 Thread Gregory Kelley
; flexcoders@yahoogroups.com Subject: RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 Could this have something to do with the fact that 0 coerced to a Boolean is false and '0' is true, whereas both 1 and '1' are true? -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-19 Thread Tracy Spratt
Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregory Kelley Sent: Thursday, March 19, 2009 7:19 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] httpservice formatted as Object 0 = 0

[flexcoders] HTTPService never returning...

2009-03-17 Thread nathanpdaniel
I have an AS3 HTTPService (that is, the HTTPService is all AS3 based, no MXML) which travels off and gets an XML feed, returns and displays the data. There are several (20+) instances where I can click on an item and this happens properly. However, I have 1 (just one) instance where this

RE: [flexcoders] HTTPService never returning...

2009-03-17 Thread Peter Farland
@yahoogroups.com Subject: [flexcoders] HTTPService never returning... I have an AS3 HTTPService (that is, the HTTPService is all AS3 based, no MXML) which travels off and gets an XML feed, returns and displays the data. There are several (20+) instances where I can click on an item and this happens properly

RE: [flexcoders] HttpService headers - age old problem

2009-03-17 Thread Peter Farland
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stevepruitt97 Sent: Wednesday, February 11, 2009 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HttpService headers - age old problem This seems to be an age-old issue. I need to set the Authorization header

[flexcoders] HTTPService POST method weirdness

2009-03-11 Thread Alan Shaw
I make a request to a service using URLLoader and everything works fine. I try the same thing with HTTPService and I get back an error telling me that only POST method is allowed. (My server-side friend tells me that Apache saw it as a GET.) In both cases I am setting the method to POST and

[flexcoders] HTTPService vs URLRequest

2009-03-05 Thread Osman Ullah
Surprisingly, I am having a very difficult time finding any discussion on the advantages of using HTTPService instead of URLRequest. I've always used URLRequest to handle my web API calls. What are some of the benefits of using the HTTPService instead? I like URLLoader because my network

RE: [flexcoders] HTTPService vs URLRequest

2009-03-05 Thread Jeff Vroom
in the flash documentation but there's no reason you can't use it for Flex too. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Osman Ullah Sent: Thursday, March 05, 2009 7:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService vs URLRequest

Re: [flexcoders] HTTPService vs URLRequest

2009-03-05 Thread Guy Morton
One good thing about URLLoader is that you can load binary data with it. HTTPService doesn't seem to allow this, though I could be wrong about that. On 06/03/2009, at 2:56 AM, Osman Ullah wrote: Surprisingly, I am having a very difficult time finding any discussion on the advantages of

RE: [flexcoders] HTTPService vs URLRequest

2009-03-05 Thread Ryan Graham
Subject: Re: [flexcoders] HTTPService vs URLRequest One good thing about URLLoader is that you can load binary data with it. HTTPService doesn't seem to allow this, though I could be wrong about that. On 06/03/2009, at 2:56 AM, Osman Ullah wrote: Surprisingly, I am having a very

[flexcoders] HttpService headers

2009-02-12 Thread Pruitt, Byron S
This seems to be an age-old issue. I need to set the Authorization header for GET requests. I have no cross-domain issues. Everything is sent to the same server. I found the following adobe TechNote: http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184sliceId=1 appears to

[flexcoders] HttpService headers - age old problem

2009-02-11 Thread stevepruitt97
This seems to be an age-old issue. I need to set the Authorization header for GET requests. I read it cannot be done and I have read articles that hint it is doable. Which is it? I have no cross-domain issues. Everything is sent to the same server. I found the following adobe TechNote:

[flexcoders] Httpservice proxy?

2009-01-14 Thread Nate Pearson
I built a small stock widget that accesses http://quote.yahoo.com/d/quotes.csv to get the stock information. The app works fine on my desktop but when I upload it to our domain it doesn't work. I have no idea what the issue is but I was thinking maybe it was a proxy issue? Should this just

Re: [flexcoders] Httpservice proxy?

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 10:37 PM, Nate Pearson napearso...@yahoo.com wrote: I built a small stock widget that accesses http://quote.yahoo.com/d/quotes.csv to get the stock information. The app works fine on my desktop but when I upload it to our domain it doesn't work. Yes, it looks like

[flexcoders] HTTPService Busy Cursor

2009-01-13 Thread shafram
I am using the mx:HTTPService from Flex and it has a showBusyCursor property that I set to true: mx:HTTPService id=httpService showBusyCursor=true result=handleResult(event) fault=handleFault(event)

[flexcoders] HTTPService and response headers

2008-12-11 Thread Ricky Bacon
This topic has probably been beaten to death, but I want to make sure I'm not missing something before writing a new service. Looking through the API docs and Google it seems the only way to access response headers is to use a proxy. Is this still the case? thanks -Ricky

[flexcoders] httpservice to api

2008-11-29 Thread spinglittery
Ah-hah. I discovered that I have to use a proxy, otherwise the setRemoteCredentials function is ignored... Using a proxy and a services- config.xml to set parameters, I recokon I can specify https. Certainly I can specify it as destination: destination property

[flexcoders] httpservice to api

2008-11-27 Thread spinglittery
I am a relative newbie in the Flex and development world, trying to extend my design skills. So please forgive any foolish errors. Presently I am attempting to communicate with the photoshelter api via httpservice, and need help. I can successfully log-in and get authorisation - but cannot

Re: [flexcoders] httpservice to api

2008-11-27 Thread Rob Kunkle
Can you post a copy of the XML that you are actually receiving from the service? if you put trace(XML(evt.result).toXMLString()); in your httpService_result function, you should get a look at the XML that is being sent to your application from the web service. At a glance here, my guess

[flexcoders] HTTPService with mixed parameters

2008-11-18 Thread Reto M. Kiefer
Dear all, I need to call an HTTPService with POST method but I need to transfer some GET parameters too. The tricky part ist, that the GET parameters are transmitted as arrays. Can anyone help me in order to build the correct HTTPService? Currently I am using this code but this one sends

[flexcoders] httpservice/save-as question

2008-11-07 Thread Glenn Jones
I already have working code that uses HttpService to send various requests to the backend from my Flex client and process the responses. I also have a customized implementation of the flex DataGrid which implements paging such that the flex client only shows one page of data at a time. The

RE: [flexcoders] httpservice/save-as question

2008-11-07 Thread Gregor Kiddie
] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glenn Jones Sent: 06 November 2008 19:19 To: flexcoders@yahoogroups.com Subject: [flexcoders] httpservice/save-as question I already have working code that uses HttpService to send various requests to the backend from my Flex

Re: [flexcoders] httpservice/save-as question

2008-11-07 Thread Howard Fore
affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glenn Jones *Sent:* 06 November 2008 19:19 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders

Re: [flexcoders] httpservice/save-as question

2008-11-07 Thread Fotis Chatzinikos
PROTECTED] *On Behalf Of *Glenn Jones *Sent:* 06 November 2008 19:19 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] httpservice/save-as question I already have working code that uses HttpService to send various requests to the backend from my Flex client and process the responses. I

[flexcoders] HttpService POST shows as GET on server logs

2008-11-05 Thread dantmcgowan
Hi, I am using Version 3.0.0 build 477 of mxmlc. I have the following service code: mx:HTTPService id=sendTestRequest url=http://localhost/basic.xml; useProxy=false method=POST resultFormat=e4x

RE: [flexcoders] HttpService POST shows as GET on server logs

2008-11-05 Thread Tracy Spratt
Subject: [flexcoders] HttpService POST shows as GET on server logs Hi, I am using Version 3.0.0 build 477 of mxmlc. I have the following service code: mx:HTTPService id=sendTestRequest url=http://localhost/basic.xml http://localhost/basic.xml useProxy=false method=POST resultFormat=e4x

[flexcoders] HTTPService returns error over HTTPS

2008-10-28 Thread Denis
Hi everybody, Has anyone encountered a problem of HTTPService returning HTTP request error over HTTPS while working fine over HTTP? We have checked the service, it is returning a proper XML dataset. Plus, in the session where the Flash player reports this error, we know that the service did return

Re: [flexcoders] HTTPService returns error over HTTPS

2008-10-28 Thread SAAGAR SHETTY
was solved. Hope it helps you too. If you find more information about this please share it. Regards, Saagar Shetty. From: Denis [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, 28 October, 2008 9:06:37 PM Subject: [flexcoders] HTTPService returns

[flexcoders] HTTPService conversion to ArrayCollection problem

2008-09-16 Thread netdeep
This is really bizarre but I have some code that was working previously and now is no longer working. I am using a servlet to output information in the following format: system data nameChannel 1/name idRep1/id /data /system But I am now getting a runtime error: Error #1034: Type Coercion

RE: [flexcoders] HTTPService conversion to ArrayCollection problem

2008-09-16 Thread Tracy Spratt
to determine what it contains, and code for the two cases. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Tuesday, September 16, 2008 11:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService conversion

[flexcoders] HTTPService Synchronization

2008-09-05 Thread rupal_2381
Hi All, Is there any framework in place to make multiple HTTPService requests synchronous. Also, does making concurrency=last helps? Regards,

Re: [flexcoders] HTTPService Synchronization

2008-09-05 Thread Igor Costa
Rupal The Flex CookBook could help you at here. http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=7184 Regards Igor Costa www.igorcosta.org On Fri, Sep 5, 2008 at 7:02 PM, rupal_2381 [EMAIL PROTECTED] wrote: Hi All, Is there any framework in place

[flexcoders] HTTPService Sends Request Multiple Times

2008-07-29 Thread stoff0
I just got done tracking down a nasty bug. In certain cases a request in my app was taking way longer than it should have. Needless to say I fixed that, but I noticed a much more worrisome behavior with HTTPService. It seems that after a certain time period the request was being sent again, which

[flexcoders] HttpService Fault Response Body Decoding

2008-07-25 Thread ron_mori
praises to user group - httpService is now working. Next issue: Trying to access / unwrap the error message the server sends back. The errors are the programmatic fault conditions (bad login for example) that the server appropriately response with an error condition. The current implementation

RE: [flexcoders] HttpService Fault Response Body Decoding

2008-07-25 Thread Tracy Spratt
To: flexcoders@yahoogroups.com Subject: [flexcoders] HttpService Fault Response Body Decoding praises to user group - httpService is now working. Next issue: Trying to access / unwrap the error message the server sends back. The errors are the programmatic fault conditions (bad login for example

[flexcoders] HttpService Request Parmeters

2008-07-24 Thread ron_mori
Coders, Think: HttpService used for REST service calls. On a POST method I would like to supply a user/password set of parameters in the following XML format. ?xml version='1.0' encoding='UTF-8'? login xmlns=http://mydomain.com/project; xmlns:foo=http://mydomain.com/parms; userfoo/user

Re: [flexcoders] HttpService Request Parmeters

2008-07-24 Thread Josh McDonald
You can POST arbitrary xml data to HttpService. What you can't do is anything other than GET or POST which makes interacting with most (true) REST services difficult or impossible. -Josh On Fri, Jul 25, 2008 at 10:23 AM, ron_mori [EMAIL PROTECTED] wrote: Coders, Think: HttpService used for

[flexcoders] HTTPService receiving an array as parameter

2008-07-17 Thread Guilherme Blanco
Hi guys, I'm interested if it's possible to send an array as a parameter when doing an HTTP request. Curretly, we can directly do it: foo[]=1foo[]=2foo[]=3 Most server side languages understand this as foo = Array( [0] = 1, [1] = 2, [2] = 3 ) I tried the same in Flex: var

[flexcoders] httpservice and repetitive calls

2008-06-24 Thread Cameron
I'm using the httpservice to make a call to an aspx page which runs a query and returns the results. This is fine, but if I try to run the same call again, the service is not actually going out to make the call, but rather just returning the results from the previous call. I know this because

RE: [flexcoders] httpservice and repetitive calls

2008-06-24 Thread Tracy Spratt
See my response to your first post. Use the POST method instead of get. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cameron Sent: Tuesday, June 24, 2008 1:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

Re: [flexcoders] httpservice and repetitive calls

2008-06-24 Thread Cameron
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Cameron *Sent:* Tuesday, June 24, 2008 1:18 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] httpservice and repetitive calls I'm using the httpservice to make a call to an aspx

RE: [flexcoders] httpservice and repetitive calls

2008-06-24 Thread Tracy Spratt
and get parameters. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cameron Sent: Tuesday, June 24, 2008 6:48 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] httpservice and repetitive calls I never saw my first

  1   2   3   4   >