|
If the firewall is simply a passthrough to
the web services then you need to adjust the WSDL to use the external IP
address rather than the internal IP address. That’s what would cause the
problem outside the firewall. You could also look into setting the endpointURI
on the WebService which will override the URI in the WSDL. You would simply
override it to be the same as the path you specified for the WSDL itself. This
would therefore not require a proxy. I am assuming that your SWF is served
from the same URL as the firewall at this point, if it is not then David’s
comment about crossdomain.xml comes into play (or the need for the FDS proxy at
the same location where the SWF was served). HTH, Matt From: Hi, Others are more knowledgable on the Flex
team, but I think the options below are not your only options. Please look into whether using the
crossdomainXML file on your server solves the problem. Secondly, you may
need to proxy the web service--FDS comes with a proxy, but if you are only
using it for that and not taking advantage of dataSerices or messaging or
remoting you could just write a proxy yourself. This is
generally not a large project. -David From: Webservices are indeed never meant to be hard and if they work
it’s totally simple. If they don’t work ... you’re in for
trouble: check the posts ... :) Unfortunately, my feeling tells me that Flex
has more problems communicating with .Net webservices than Java (AXIS based)
webservices. For the problem mentioned originally by Scott, the following: You cannot access the webservices behind a firewall directly from
the Flex application. The Flex application will be served to the client, but in
the end it does not matter. The Flex application will run locally. And if the
local machine cannot reach behind the firewall you’re out of luck. Even
if the webservices are not behind the webservices you probably will have a
problem accessing them, since Flash only allows you to address URLs with the
base identical to the URL you have downloaded your app from. Since you are
talking about two different machines, these base addresses will not match and
you’ll have a security issue. To solve this you have to the ‘proxy’ way, which gives
you 2 directions:
Good luck! Franck From: You
can use Flex alone with its webservice support.
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |

