Hi,

I think what you want is you need to pass the [cgi.server_name] value
from the html to flex application.

http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.\
htm?context=LiveDocs_Parts&file=00001006.html

The above link is how you do it.

Hope it helps

--- In [email protected], "awrweb" <[EMAIL PROTECTED]> wrote:
>
> I've been beating my head at this for awhiile now.  I'm trying to use
a
> webservice within flex (<mx:webservice>..) to call a wsdl path but I
> want to use variables to string together the server path, so..
>
> var g_hostString="http://[cgi.server_name]/filename.cfc?wsdl";;
> <flex web service call..wsdl="{String(g_hostString)}">
>
> Anyway, can't get that to work.  I can use the absolute path inside
the
> wsdl but not using variables.  The reason being is the files will be
> sitting across multiple servers so whichever server the swf is being
> invoked, I can just call up the cgi.server_name and the wsdl will
point
> to the files on that server.  Any ideas experts?
>


Reply via email to