[flexcoders] Re: Unable to retrieve data via HTTPService over https in *IE*.

2005-12-06 Thread John Larson
--- In flexcoders@yahoogroups.com, colinblackmore 
[EMAIL PROTECTED] wrote:

 I have a flex application that works perfectly when deployed under
 http.  However, when I attempt to connect via https none of the
 HTTPService calls return successfully.
 
 The odd thing is that this only occurs when using https on Internet
 Explorer (6.0).  Both Firefox (1.5) and Opera (8.51) work fine 
under
 both http and https.
 
 Some additional information:
 
 - The fault code from the HTTPService is:
  fault: (Object)
   faultcode: Client.Disconnected (String)
   faultstring: Could not retrieve data. (String)
 - I am *not* using the flex proxy.
 - Calling the HTTPService URL directly from the browser works 
fine. 
 It's only when flex attempts to call it from the client.
 - Tomcat 5.5 is the web-server.
 - I added the following crossdomain.xml to both the server root and
 the context root (to no avail).
 
 cross-domain-policy
   allow-access-from domain=* secure=false /
 /cross-domain-policy
 
 Again, this is only an issue with IE.  Anyone out there 
successfully
 serving a flex app to IE over https?
 
 Thanks in advance
 
 ...Col



In our flex-config.xml file we've had to change this line in the 
HTTP-service-Proxy area:

https-url{context.root}/flashproxy/https-url

to:
https-urlHTTPS://(fully qualified domain)/(context root 
directory)/flashproxy/https-url


For some reason, our system doesn't like {context-root} for https 
calls. 



John






 Yahoo! Groups Sponsor ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Unable to retrieve data via HTTPService over https in *IE*.

2005-12-06 Thread John Larson
--- In flexcoders@yahoogroups.com, colinblackmore 
[EMAIL PROTECTED] wrote:

 I have a flex application that works perfectly when deployed under
 http.  However, when I attempt to connect via https none of the
 HTTPService calls return successfully.
 
 The odd thing is that this only occurs when using https on Internet
 Explorer (6.0).  Both Firefox (1.5) and Opera (8.51) work fine 
under
 both http and https.
 
 Some additional information:
 
 - The fault code from the HTTPService is:
  fault: (Object)
   faultcode: Client.Disconnected (String)
   faultstring: Could not retrieve data. (String)
 - I am *not* using the flex proxy.
 - Calling the HTTPService URL directly from the browser works 
fine. 
 It's only when flex attempts to call it from the client.
 - Tomcat 5.5 is the web-server.
 - I added the following crossdomain.xml to both the server root and
 the context root (to no avail).
 
 cross-domain-policy
   allow-access-from domain=* secure=false /
 /cross-domain-policy
 
 Again, this is only an issue with IE.  Anyone out there 
successfully
 serving a flex app to IE over https?
 
 Thanks in advance
 
 ...Col



In our flex-config.xml file we've had to change this line in the 
HTTP-service-Proxy area:

https-url{context.root}/flashproxy/https-url

to:
https-urlHTTPS://(fully qualified domain)/(context root 
directory)/flashproxy/https-url


For some reason, our system doesn't like {context-root} for https 
calls. 



John







 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Compiling a Flex app using mxmlc

2005-09-29 Thread John Larson
Thanks for the info.

I did get it to work, but through another method to yours:

My app is in the root, so I can't provide [webappname] as you've 
mentioned below. I provide / as context root in the MXMLC command 
line, but I also have to make some changes in the flex-config.xml 
file to accomodate the fact that my app is the root. Any references 
to {context.root}/flashproxy or similar in the flex-config.xml 
file were replaced with {context.root}flashproxy. Note the removal 
of the / - wchich apparently gets added back in through the 
command line parameter.

Anyway, I got it to work and have a working pre-compiled Flex app.

John


--- In flexcoders@yahoogroups.com, Kevin Langdon [EMAIL PROTECTED] 
wrote:
 Your contextroot needs to look like this: -contextroot /
[webappName]  
 It takes a little while to get the properties set correctly for 
mxmlc but
 once you do it works great.
 
 You also might want to check this out:
 http://www.deitte.com/archives/2005/09/speeding_up_mxm.htm to take 
advantage
 of class caching.
 
 Kevin
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of John Larson
 Sent: Wednesday, September 28, 2005 11:33 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Compiling a Flex app using mxmlc
 
 I have a Flex app that's been running fine for some time. We 
recently
 decided to try pre-compiling the app using mxmlc.
 Within the app are several references to @ContextRoot() in the url 
for HTTP
 services. When I perform a standard compile, meaning I use the 
same
 flex-config.xml, and use no other command line options for mxmlc, 
the
 compiler gives me an error, saying I must define contextroot. 
 When I provide a value for the contextroot command line option, 
the app
 compiles, but the application will not run properly. My tcp trace 
utility
 shows that the URL to the HTTP service call gets mangled by the
 contextroot parameter provided, resulting in an incorrect url for 
the
 service.
 Has anyone encountered something similar?
 
 Thanks,
 
 John
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
 Yahoo! Groups Links





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Compiling a Flex app using mxmlc

2005-09-28 Thread John Larson
I have a Flex app that's been running fine for some time. We recently 
decided to try pre-compiling the app using mxmlc.
Within the app are several references to @ContextRoot() in the url for 
HTTP services. When I perform a standard compile, meaning I use the 
same flex-config.xml, and use no other command line options for mxmlc, 
the compiler gives me an error, saying I must define contextroot. 
When I provide a value for the contextroot command line option, the 
app compiles, but the application will not run properly. My tcp trace 
utility shows that the URL to the HTTP service call gets mangled by 
the contextroot parameter provided, resulting in an incorrect url for 
the service.
Has anyone encountered something similar?

Thanks,

John




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/