PDA

View Full Version : SOAP and HTTP Proxy


chrislyman
10-20-2004, 07:51 AM
Hi,

I've published a ColdFusion webservice that I want to consume with Laszlo. After chasing my tail for the better part of yesterday I figured out that Laszlo doesn't honor a 302 HTTP header when trying to consume a SOAP service. My questions are:

1) Is there a way to make Laszlo honor the 302 header and contact the service via the proxy?

2) Does this mean that anybody behind an HTTP proxy won't be able to run a SWF that calls a SOAP service?

Thanks for your time.

Best,
Chris

bloch
10-24-2004, 09:00 PM
This is apparently a bug in the com.laszlosystems.data.HTTPDataSource.java class.



-Eric

bloch
10-24-2004, 09:04 PM
As I look at the source, code
I believe if you set the followsRedirects property in WEB-INF/lps/config/lps.properties accordingly, it should work.

This is a security issue somewhat.

-Eric

pblair4
03-03-2005, 09:47 AM
what should I set the followsRedirect property to? The default setting is =3 but I dont know what that means. In the file WEB-INF/lps/config/iv.properties I found:

################################################## #############################
# HTTP Proxy enable, host, port, username and password
################################################## #############################
com.laszlosystems.iv.flash.http.proxy.enable=false
com.laszlosystems.iv.flash.http.proxy.host=
com.laszlosystems.iv.flash.http.proxy.port=
com.laszlosystems.iv.flash.http.proxy.username=
com.laszlosystems.iv.flash.http.proxy.password=

I tried to use those setting to set it for my proxy and it still didnt work. Any suggestions?