[flexcoders] Re: HTTPService in Proxy with authentication.

2012-04-24 Thread Wemerson Couto GuimarĂ£es
Hi guys... Anyone know any solution to be able to authenticate on the firewall and access out? Em 20 de abril de 2012 09:26, Wemerson Couto GuimarĂ£es escreveu: > Greetings! > > I use HTTPServices to access our server, but in some clients the internet > access is by authenticated proxy. How do I

[flexcoders] Re: HttpService resultHandler in different Window

2012-02-14 Thread valdhor
So, somewhere a null object is trying to be referenced. You will need to add debugging code to check which object is null. If you need two way communication between your windows I would recommend creating an interface and implementing it in both windows. --- In flexcoders@yahoogroups.com, "isa_

[flexcoders] Re: HttpService error handling

2011-11-03 Thread valdhor
Have you tried using an AsyncToken? --- In flexcoders@yahoogroups.com, "Sells, Fred" wrote: > > 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 se

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

2011-08-25 Thread Peter Coppens
I wonder whether anyone reading this has tried such an approach and would be willing to comment on the experience (stability, maintainability , testability, etc) of such an approach. It also crossed our mind, but it seemed such a long road and it becomes really tricky if you want to read binary

[flexcoders] Re: HttpService results inconsistent

2011-08-25 Thread valdhor
This is pretty much how Flex works and has been documented. What I always do is convert the result into an array... new ArrayCollection(ArrayUtil.toArray(event.result)) so even with only one record I still get an ArrayCollection. --- In flexcoders@yahoogroups.com, "Sells, Fred" wrote: > > If I

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

2011-08-24 Thread Peeyush Tuli
you can also use extrenalinterface to issue such requests through ajax.. On Wed, Aug 24, 2011 at 12:05 AM, handitan wrote: > ** > > > Thanks for the insightful info Peter! > > > --- In flexcoders@yahoogroups.com, Peter Coppens > wrote: > > > > Fwiw... > > > > As far as I know that is indeed sti

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

2011-08-23 Thread handitan
Thanks for the insightful info Peter! --- In flexcoders@yahoogroups.com, Peter Coppens wrote: > > 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

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

2011-08-19 Thread valdhor
What does the XML look like? Note that you can use Charles to see exactly what is sent to Flex. --- In flexcoders@yahoogroups.com, "isa_loyer" wrote: > > 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 r

[flexcoders] Re: HTTPService timeout?

2011-08-03 Thread georgemeng2011
Sorry, forgot to mention that I put exactly the same code into Web application, it worked. So it must be something wrong on the AIR side. Again, my environment is: Flash Builder 4.1 AIR 2.6 Thanks, George --- In flexcoders@yahoogroups.com, "mitek17" wrote: > > Hi, > > Yep, there is PHP s

[flexcoders] Re: HTTPService timeout?

2011-08-03 Thread georgemeng2011
Thank for taking time to answer my question! As I mentioned in my post, I have configured and tested php within brower. It worked, so it is not php side issue. My environment: Flex Builder 4.1 with AIR 2.6, it is an AIR application. I tested within IDE as well as released version. Thanks! Ge

[flexcoders] Re: HTTPService timeout?

2011-08-03 Thread mitek17
Hi, Yep, there is PHP setting in php.ini for that max_execution_time = 30 ; Maximum execution time of each script, in seconds PS php_error.log is a good thing to check Cheers, --- In flexcoders@yahoogroups.com, "georgemeng2011" wrote: > > > Hello, > > I have very simple code to call a simp

Re: [flexcoders] Re: HTTPService not updating...

2010-08-19 Thread Wesley Acheson
Whats the server type? You could probably add the expires header, cache-control:none and pragma:no-cache. Btw please look these up I'm typing from memory. I'd personally prefer the correct response headers to spurious timestamps. On Thu, Aug 19, 2010 at 8:34 PM, Laurence wrote: > > > Yep, I gue

[flexcoders] Re: HTTPService not updating...

2010-08-19 Thread Laurence
Yep, I guess it was getting cached... I added the timestamp stuff that was in both of the responses here, and that took care of it -- fresh data every time. Thanks! L. --- In flexcoders@yahoogroups.com, dorkie dork from dorktown wrote: > > it's prob accessing it from the cache. > > instead

RE: [flexcoders] Re: HTTPService not returning ArrayCollection...

2010-03-14 Thread Tracy Spratt
flexcod...@yahoogroups.com] On Behalf Of Laurence Sent: Wednesday, March 10, 2010 4:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService not returning ArrayCollection... I discovered that (event.result.people.person.source != null) when the result is an ArrayCollection. So I

[flexcoders] Re: HTTPService not returning ArrayCollection...

2010-03-10 Thread Laurence
I discovered that (event.result.people.person.source != null) when the result is an ArrayCollection. So I used that in an if statement so I could choose simply to set my variable equal to the result, or if I had to variable.addItem() the result. Your way is much neater. I'll give that a try,

[flexcoders] Re: HTTPService not returning ArrayCollection...

2010-03-10 Thread valdhor
I use "new ArrayCollection(ArrayUtil.toArray(event.result))". It works for 1 or more items in the result. --- In flexcoders@yahoogroups.com, "Laurence" wrote: > > 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 o

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

2010-02-09 Thread djhatrick
This is a bug with the 3.4 sdk, pick up the 3.41 , or 3.5 sdk. P --- In flexcoders@yahoogroups.com, Tim Romano wrote: > > 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 eventhand

[flexcoders] Re: HTTPService & Internet Explorer

2010-01-09 Thread criptopus
If feels as if I.E. is caching the first read and when it goes back after the changes are made its just re-reading the cache. Has anybody else found this, and maybe found a solution?

[flexcoders] Re: httpservice listener

2009-08-23 Thread advancedonsite
That worked thank u --- In flexcoders@yahoogroups.com, "Ivan Wang" wrote: > > Not quite sure what's actually going on here. But you can try to remove > listener in the corresponding result handler other than do it in another > handler. > > - Original Message - > From: advancedonsite

[flexcoders] Re: httpservice what does this error mean?

2009-08-18 Thread valdhor
Something has not been created when you try to access it. This is probably due to a timing problem. When you get the error in the debugger, check that all the variables you are trying to access are not null. >From the stack trace it looks like it is failing at line 10 of toolHelper.as. >Check a

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

2009-06-01 Thread valdhor
I tried your code and, after some changes, got an "HTTP request error". Firstly, change your params variable type from Array to Object. This will allow you POST parameters to be sent. Secondly, I would highly recommend obtaining a copy of Charles (http://www.charlesproxy.com). Using Charles I f

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

2009-05-29 Thread ciminop
Here's the link to my app, you can use view source to see what I'm doing. The left hand fields allow you to configure the entry fields so you can change the URL and point to a form with different input ids. http://www.translunardesigns.com/postgradmed/PostGradMed.html I obviously can't

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

2009-05-29 Thread ciminop
Thanks for the input. Basically I rolled the code back to where I started. I'm back to the status code 405 and [FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhas

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

2009-05-29 Thread valdhor
I'm fairly sure you don't NEED a channelset. From your code, it looks like you have the URL set wrong. First off, you are not binding urlInput.text to the url property of the HTTPService - you are just passing the string "urlInput.text". Secondly, Do you really want to set useProxy to true? I have

RE: [flexcoders] Re: httpservice error #2032

2009-05-26 Thread Tracy Spratt
Subject: [flexcoders] Re: httpservice error #2032 Not sure what the issue is but if I try POST it always goes across as as a GET. So I went with GET and I return 'true' as render :xml and it comes back with a good result. And I stuck with the relative URL and it works like a champ no

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
t; > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of flexaustin > Sent: Tuesday, May 26, 2009 10:36 PM > To: flexcoders@yahoogroups.com > Subje

RE: [flexcoders] Re: httpservice error #2032

2009-05-26 Thread Tracy Spratt
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Tuesday, May 26, 2009 10:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: httpservice error #2032 --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, Dave Cragg wrote: > &

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
--- In flexcoders@yahoogroups.com, Dave Cragg wrote: > > > On 26 May 2009, at 05:35, flexaustin wrote: > > > > _httpservice.url = "/ditto/myfunction"; > > Shouldn't that be > >_httpservice.url = "ditto/myfunction"; > > Cheers > Dave Cragg > No its /ditto/myfunction. For kicks I tried y

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
Not sure if it matters but my app is a rails app and I am doing a POST with the httpservice. I am not returning anything after the call would that appear as a fault to my httpservice? Should I send something back? TIA --- In flexcoders@yahoogroups.com, "[p e r c e p t i c o n]" wrote: > > I

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
Do I need a services-config.xml file as well? --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > HIn my testing relative URL's don't appear to work. The only way I > can get it to work is if I put a complete URL in the url property of the > HTTPService object. eg. > > _httpservic

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
Do I need a services-config.xml file as well? --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > HIn my testing relative URL's don't appear to work. The only way I > can get it to work is if I put a complete URL in the url property of the > HTTPService object. eg. > > _httpservic

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread valdhor
HIn my testing relative URL's don't appear to work. The only way I can get it to work is if I put a complete URL in the url property of the HTTPService object. eg. _httpservice.url = "http://127.0.0.1/ditto/myfunction";; --- In flexcoders@yahoogroups.com, "flexaustin" wrote: > > I don

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread flexaustin
I don't have a services-config.xml file. --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > What does your services-config.xml file look like. > > According to the documentation "If you specify the url and a non-default > destination, your destination in the services-config.xml file mus

[flexcoders] Re: httpservice error #2032

2009-05-26 Thread valdhor
What does your services-config.xml file look like. According to the documentation "If you specify the url and a non-default destination, your destination in the services-config.xml file must allow the specified URL" --- In flexcoders@yahoogroups.com, "flexaustin" wrote: > > I cannot seem to g

[flexcoders] Re: HTTPService mistery

2009-04-24 Thread markgoldin_2000
.@yahoogroups.com] On > Behalf Of markgoldin_2000 > Sent: Friday, April 24, 2009 6:04 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: HTTPService mistery > > > > > > > > > Ok. > I am having a problem with one of my Flex applications.

RE: [flexcoders] Re: HTTPService mistery

2009-04-24 Thread Tracy Spratt
services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 6:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService mistery Ok. I am having a problem with one of my Flex

[flexcoders] Re: HTTPService mistery

2009-04-24 Thread markgoldin_2000
groups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of markgoldin_2000 > Sent: Friday, April 24, 2009 1:10 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: HTTPService mistery > > > > > > > > > I have compiled it with Gumbo, latest buil

RE: [flexcoders] Re: HTTPService mistery

2009-04-24 Thread Tracy Spratt
Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 1:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService mistery I have compiled it with Gumbo, latest build, and it's even worse. Anyone, please share any idea. --- In flexcod...@yahoogro <mailto:fl

[flexcoders] Re: HTTPService mistery

2009-04-24 Thread markgoldin_2000
> > > _ > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > > Behalf Of markgoldin_2000 > > Sent: Wednesday, April 22, 2009 11:15 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Re: HTTPService mister

[flexcoders] Re: HTTPService mistery

2009-04-23 Thread markgoldin_2000
velopment services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of markgoldin_2000 > Sent: Wednesday, April 22, 2009 11:15 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: HTTPService mistery >

[flexcoders] Re: HTTPService mistery

2009-04-23 Thread markgoldin_2000
> > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of markgoldin_2000 > Sent: Wednesday, April 22, 2009 11:15 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: HTTPService mistery > > > > >

RE: [flexcoders] Re: HTTPService mistery

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

[flexcoders] Re: HTTPService mistery

2009-04-22 Thread markgoldin_2000
While it seems to me I am missing something obvious I am pretty sertant it is somewhere in the send command. I have traced an execution to the point that for a low end box it takes about 5 sec. between a send command and an HTTPService callback function call. I have timed my server and it does n

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

2009-03-30 Thread valdhor
PHP 5.2.3; Apache 2.2.6 --- In flexcoders@yahoogroups.com, "joel.sisko" wrote: > > Well I am glad to read that the code worked. I can send you a ehtereal trace > file to help the debugging. > > Prior to that, let me ask the dumb question that I did not ponder to think of > till your post: >

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

2009-03-30 Thread joel.sisko
Well I am glad to read that the code worked. I can send you a ehtereal trace file to help the debugging. Prior to that, let me ask the dumb question that I did not ponder to think of till your post: What version of Apache and PHP did you test against? Thanks for the help. Joel --- In flexcode

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

2009-03-30 Thread valdhor
I tried your code and it worked perfectly. The two POST variables admin_action and place_next showed up in the $_POST array as $_POST["admin_action "] and $_POST["place_next"] with the values add and 2 respectively. The sec variable showed up in the $_GET array as $_GET["sec"] with the value use

[flexcoders] Re: HttpService headers - age old problem

2009-02-12 Thread valdhor
Sorry, misread the bit about it being a GET request. It seems this bug is still around according to this blog post: http://blog.flexmonkeypatches.com/2008/10/22/sending-flash-player-http-headers-for-urlrequest-httpservice-and-webservice-in-flex/ It worked successfully for me using a POST request.

[flexcoders] Re: HttpService headers - age old problem

2009-02-12 Thread stevepruitt97
It might for Air applications, but not for browser Flex applications. My app is not an Air app. Thanks, -S --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > I found this: > > http://stackoverflow.com/questions/490806/http-basic-authentication- with-httpservice-objects-in-adobe-flex-air

[flexcoders] Re: HttpService headers - age old problem

2009-02-12 Thread valdhor
I found this: http://stackoverflow.com/questions/490806/http-basic-authentication-with-httpservice-objects-in-adobe-flex-air Does it not work? --- In flexcoders@yahoogroups.com, "stevepruitt97" wrote: > > This seems to be an age-old issue. I need to set the Authorization > header for GET re

Re: [flexcoders] Re: Httpservice proxy?

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 10:53 PM, Nate Pearson wrote: > Ahhh! No way to get around that? Proxy the calls through your own web service (hosted on your own domain). Manish -- Manish Jethani

[flexcoders] Re: Httpservice proxy?

2009-01-14 Thread Nate Pearson
Ahhh! No way to get around that? --- In flexcoders@yahoogroups.com, "Manish Jethani" wrote: > > On Wed, Jan 14, 2009 at 10:37 PM, Nate Pearson 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

[flexcoders] Re: HTTPService Busy Cursor

2009-01-13 Thread shafram
Thanks. But this example assumes that I have full control over when I want to show and hide the cursors. The HTTPService, however will show and hide the busy cursor for me automatically (hence the property showBusyCursor). I guess I would have to set that property to false and then manually show

[flexcoders] Re: HTTPService Busy Cursor

2009-01-13 Thread valdhor
Check out http://www.switchonthecode.com/tutorials/flex-custom-cursor-tutorial --- In flexcoders@yahoogroups.com, "shafram" wrote: > > I am using the mx:HTTPService from Flex and it has a showBusyCursor > property that I set to true: > > showBusyCursor="true" >

[flexcoders] Re: httpService to api

2008-11-29 Thread spinglittery
Thanks for your input. I have been sending to an https destination - but probably over insecure http, which may beone reason why it is being rejected. I had thought that the protocol property had been removed/deprecated - because I can't see it in the Flex 3 HTTPService class documentation..

[flexcoders] Re: HTTPService with mixed parameters

2008-11-18 Thread valdhor
When I try your code and check it with Charles (http://www.charlesproxy.com) the method is GET and the URL is http://my.url/service?params=%5Bobject%20Object%5D&method=getMessage&pre\ feredMainTextPartTypes=%5Bobject%20Object%5D I have no idea how you would get the data in this situation as Flex s

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

2008-11-05 Thread dantmcgowan
Tracy, That was it. Adding a param, now I see it as a POST. Thanks, Dan --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > If the POST body is empty, Flex converts the POST to a GET. Is this the > case in your situation? > > Tracy > > > > _

[flexcoders] Re: Httpservice request clear

2008-09-25 Thread Jason B
sorry not sure how i wrote that subject line? --- In flexcoders@yahoogroups.com, "Jason B" <[EMAIL PROTECTED]> wrote: > > is there a way to clear an httpservice? > > im defining items as > > tabpermissions.request.tabnav_announcements = > tabnav_announcements.selectedIndex;

RE: [flexcoders] Re: HTTPService conversion to ArrayCollection problem

2008-09-17 Thread Tracy Spratt
tdeep Sent: Wednesday, September 17, 2008 3:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService conversion to ArrayCollection problem Yeah, you are right that when there are two or more items in the list, the problem does not show up. I'm not sure how to process the re

[flexcoders] Re: HTTPService conversion to ArrayCollection problem

2008-09-17 Thread netdeep
Yeah, you are right that when there are two or more items in the list, the problem does not show up. I'm not sure how to process the results in e4x or with XMLListCollection, however. --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > This is probably the Object

RE: [flexcoders] Re: HTTPService Synchronization

2008-09-08 Thread Tracy Spratt
Behalf Of Tomas Lin Sent: Monday, September 08, 2008 2:12 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: HTTPService Synchronization you can chain your calls in your result functions in either your httpservice calls or using a framework like MATE On Mon, Sep 8, 2008 at 1:29 PM

Re: [flexcoders] Re: HTTPService Synchronization

2008-09-08 Thread Tomas Lin
you can chain your calls in your result functions in either your httpservice calls or using a framework like MATE On Mon, Sep 8, 2008 at 1:29 PM, rupal_2381 <[EMAIL PROTECTED]> wrote: > I have a app which has multiple HTTPService calls where the service > calls are dependent on the result of previ

[flexcoders] Re: HTTPService Synchronization

2008-09-08 Thread rupal_2381
I have a app which has multiple HTTPService calls where the service calls are dependent on the result of previous service calls. Is it possible that I can check the result of first service call before invoking the second one. Regards, --- In flexcoders@yahoogroups.com, "Igor Costa" <[EMAIL PROTEC

Re: [flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-29 Thread Josh McDonald
Your blazeds http transport is going fine, otherwise you wouldn't see anything in message, faultcode, etc. The problem is either in the proxy server itself, or the server you're trying to talk to. -Josh On Tue, Jul 29, 2008 at 3:33 PM, ron_mori <[EMAIL PROTECTED]> wrote: > I must be missing some

[flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-29 Thread ron_mori
I must be missing something obvious - Using an httpService proxy to the backend server like so in my proxy-config: http://myServer:8080/myApp Executing a simple test, I monitor the traffic on the client (Wireshark) and find the desired xml body in the r

Re: [flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-28 Thread Josh McDonald
IIRC: The way it works in BlazeDS is not that it acts as an actual "http proxy" where you make fully qualified requests over http, but you send requests down a flash-remoting socket connection, and it makes requests and pipes back the result. The end result is that the browser doesn't get to interc

[flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-28 Thread ron_mori
Josh, Thanks for the reply - the mystery is how to access the server response body content for a faultEvent. My proxy server does a great job of forwarding requests and responses but my client still can not access the response xml body content for an 'error' (status 500) server response. I'm gues

Re: [flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-27 Thread Josh McDonald
That should be taken care of automatically when using BlazeDS as a proxy. -Josh On Mon, Jul 28, 2008 at 3:43 PM, ron_mori <[EMAIL PROTECTED]> wrote: > The fault handler is being call. (server 500 status) The good news > is that my research points me towards the BlazeDS proxy server which I > h

[flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-27 Thread ron_mori
The fault handler is being call. (server 500 status) The good news is that my research points me towards the BlazeDS proxy server which I have successfully set up to make my remote server calls. Now the trick is to get the proxy to grab the remote error msg and return a "status 200" good msg bac

[flexcoders] Re: HTTPService receiving an array as parameter

2008-07-17 Thread pbrendanc
FYI - I'm seeing the same thing as you with my tests - it looks like only the first array element is available on the server side (There may be a Flex/HTTP limitation here - not sure ). var ipArray:Array = []; var rowdata:String = ''; rowdata ='1234';

Re: [flexcoders] Re: HTTPService receiving an array as parameter

2008-07-17 Thread Guilherme Blanco
There's one thing you missed here I have this: var params:Object = new Object(); params.viewId = _viewId; itemService.send(params); And it works ok... But If I try this: var params:Object = new Object(); params.viewId = _viewId; params.foo = new Array()

[flexcoders] Re: HTTPService receiving an array as parameter

2008-07-17 Thread pbrendanc
Guilherme, I'm also testing this and have passed a parameter object as part of my HTTP request as follows: httpSvc.send(testVO); However I'm not seeing the parameter values in the HTTP request when I debug on the server side. However they do show up when I look at the request using the Web

[flexcoders] Re: httpservice and repetitive calls

2008-06-25 Thread Doug Lowder
You can fix this on the server by setting the no-cache header to "max- age=0, must-revalidate" in the aspx page. When possible, that's the best solution IMO. --- In flexcoders@yahoogroups.com, Cameron <[EMAIL PROTECTED]> wrote: > > I'm using the httpservice to make a call to an aspx page which r

[flexcoders] Re: httpservice and repetitive calls

2008-06-25 Thread deepcworld
This is all because of GET request URL being cached. As Tracy explained, POST does not cache, hence it works. On the other hand, you can add time stamp (in milliseconds) to the GET URL to make it unique for every call, hence avoiding cache. - --- In flexcoders@yahoogroups.com, Cameron <[EMAIL

[flexcoders] Re: HTTPService: Not Getting Fault Event When App Server Down

2008-06-19 Thread wwwpl
That fixed it, thank you. I set the HTTPService requestTimeout to 10 seconds and I received the fault error. Thanks. --- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote: > > requestTimeout? > > > --- In flexcoders@yahoogroups.com, "wwwpl" wrote: > > > > When our app server

[flexcoders] Re: HTTPService: Not Getting Fault Event When App Server Down

2008-06-19 Thread valdhor
requestTimeout? --- In flexcoders@yahoogroups.com, "wwwpl" <[EMAIL PROTECTED]> wrote: > > When our app server (tomcat) goes down while our Flex application is > up, we are not getting the fault event error when making an HTTPService > send call. We don't get a result either. We need to handle

Re: [flexcoders] Re: HTTPService Bug

2008-06-15 Thread Brent Dearth
-- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Rafael Faria > *Sent:* Wednesday, June 11, 2008 9:27 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Re: HTTPService Bug > > > > --- In flexcode

RE: [flexcoders] Re: HTTPService Bug

2008-06-11 Thread Alex Harui
s.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Wednesday, June 11, 2008 9:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService Bug --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "LazerWonder" <[EMAIL PROTECTED]&

[flexcoders] Re: HTTPService Bug

2008-06-11 Thread Rafael Faria
--- In flexcoders@yahoogroups.com, "LazerWonder" <[EMAIL PROTECTED]> wrote: > > Wherever you get the returned XML object from... does it pass in a 1 > or 2? Or does it pass a "1.0" / "2.0". As far as I know, > HTTPService does not transform data (some one more experience can > correct me if I

Re: [flexcoders] Re: HTTPService Bug

2008-06-11 Thread Josh McDonald
ion. > > > > Tracy > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *LazerWonder > *Sent:* Wednesday, June 11, 2008 12:04 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Re: HTTPSe

RE: [flexcoders] Re: HTTPService Bug

2008-06-11 Thread Tracy Spratt
om [mailto:[EMAIL PROTECTED] On Behalf Of LazerWonder Sent: Wednesday, June 11, 2008 12:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService Bug Wherever you get the returned XML object from... does it pass in a 1 or 2? Or does it pass a "1.0" / "2.0".

RE: [flexcoders] Re: HTTPService Bug

2008-06-11 Thread Tracy Spratt
om Subject: [flexcoders] Re: HTTPService Bug All XML attribute values, names, and text values are String data types, and you may need to convert these to other data types. For example, the following code uses the Number() function to convert text values to numbers: var myXML:XML = 3.95 1.00 ; var

[flexcoders] Re: HTTPService Bug

2008-06-11 Thread LazerWonder
Wherever you get the returned XML object from... does it pass in a 1 or 2? Or does it pass a "1.0" / "2.0". As far as I know, HTTPService does not transform data (some one more experience can correct me if I am wrong). It just spits back to you what it receives. If you have control over the

[flexcoders] Re: HTTPService Bug

2008-06-11 Thread tspyro2002
All XML attribute values, names, and text values are String data types, and you may need to convert these to other data types. For example, the following code uses the Number() function to convert text values to numbers: var myXML:XML =

Re: [flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Josh McDonald
der configuring it to set >> HTTP no-cache headers in these responses to suppress caching. >> >> Seth >> >> From: flexcoders@yahoogroups.com [mailto: >> flexcoders@yahoogroups.com ] On Behalf Of >> valdhor >> Sent: Tuesday, May 27, 2008 9:15 AM >> To: f

Re: [flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Justin Stanczak
s.com ] On Behalf Of > valdhor > Sent: Tuesday, May 27, 2008 9:15 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: HTTPService multiple requests not being sent? > > > This is pretty close to another qustion that was asked lately. Seth > Hodgson summed up wh

[flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Dmitri Girski
Reasons why your POST request could be cached: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html Responses to this method [POST] are not cacheable, unless the response includes appropriate Cache-Control or Expires header fields. However, the 303 (See Other) response can be used to direct the u

[flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Dmitri Girski
I had caching issues with IE using POST. PS You can always do a POST using dynamic URL, which will stop caching. It does not really matter what is in the request body. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > I have "heard" that POSTed re

Re: [flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Josh McDonald
> > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Seth Hodgson > *Sent:* Tuesday, May 27, 2008 2:38 PM > *To:* flexcoders@yahoogroups.com > *Subject:* RE: [flexcoders] Re: HTTPService multiple requests not b

RE: [flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Tracy Spratt
flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: HTTPService multiple requests not being sent? Injecting a current client-side timestamp into an outbound request is a good way to avoid Http response caching if you don't control the server. If you do control the server, you should consi

RE: [flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Seth Hodgson
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Tuesday, May 27, 2008 9:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService multiple requests not being sent? This is pretty close to another qustion that was asked lately. Seth Hodgson summ

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-08 Thread mailamannow
Hi Dmitri Can you please explain me if WireShark could prove to be a useful tool for debugging Web Services. I tried it, but couldn't get it working to debug my Web Service

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-07 Thread Carlos Reyes
Thank you for your reply. I've done a lot of research on this problem. None of the usual causes/solutions to 2032 errors appear to apply. This is an HTTP POST without using SSL. It's not a caching problem. Caching is an issue with GET commands, I know that the request really goes out, and the body

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-07 Thread Carlos Reyes
I found a workaround. I can tell Amazon S3 that I want to do a redirect. Now the response code is "303 See Other", which does not generate the error. Opera under Windows suffers from the same problem (not Firefox), although it apparently does not use the ActiveX adaptor. It uses the PlugIn. I don'

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-07 Thread Dmitri Girski
OK, guys, I'll try to summarise my painful experience with HTTPService. Things which could go wrong: - HTTPService settings, i.e. type of the parameters object. You should check that if you send XML, the type of the object is XML and content-type is application/xml - I had a lot of mysterious prob

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-07 Thread Carlos Reyes
I checked the packets with Charles (www.xk72.com/charles) under Windows. The request body is over 1KB. The response packet just says "204 No Content". There is no body. Obviously, the ActiveX wrapper is taking this to mean that something went wrong. Again, since I have no information other than "E

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-07 Thread Carlos Reyes
I believe I've run into the same problem. I haven't checked the length of the POST data, but I'll bet it's over 1022 bytes. This is under Windows XP, Internet Explorer, and the latest Flash (9,0,115,0). I'm seeing the same behavior with Opera under Windows. Firefox is fine, Apple Safari (under Win

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-07 Thread Dmitri Girski
Install Wireshark sniffer and check the contents of the packets. I am inclined to think that this problem is on a server side. PS What is on the server side? --- In flexcoders@yahoogroups.com, "longxjyh" <[EMAIL PROTECTED]> wrote: > > When I use HttpService to send data by post method,I encount

[flexcoders] Re: HTTPService Error - Response Body Text?

2008-03-30 Thread Paul Whitelock
y to indicate that there was > an error, so the flex side can act accordingly. > > > > Shiv. > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Paul Whitelock > Sent: Sunday, March 30, 2008 2:30 PM > To: flexcoders@yahoogroups.co

RE: [flexcoders] Re: HTTPService Error - Response Body Text?

2008-03-30 Thread Shiv Kumar
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Whitelock Sent: Sunday, March 30, 2008 2:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService Error - Response Body Text? I've now tried using HTTPService, WebService, and the low-level U

[flexcoders] Re: HTTPService Error - Response Body Text?

2008-03-30 Thread Paul Whitelock
oders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Paul Whitelock > Sent: Friday, March 28, 2008 5:51 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: HTTPService Error - Response Body Text? > > > > Thanks for confirming the problem -- I guess I'll

  1   2   3   >