Basicaly im trying to work around two issues.  1 I have a dev and a 
prod version in diferent directories and would like to not have to 
edit the WebService tag every time I move the dev to production.  
Plus I have to keep changing the filename of the cfc to get Flex to 
see the new code when I have edited it.  I have tried a variety of 
ways to get the cfcs not to create stubs or recreate stubs but 
nothing works but chaning the filename.


--- In flexcoders@yahoogroups.com, "Mink, Joseph" <[EMAIL PROTECTED]> 
wrote:
>
> Ah yes, good call!  Just did that yesterday...here's an example of 
some
> sort:
>  
>   function wsTestTimeOut (callTime:Number):Void
>   {
>     ...
>    dsmcWs.setEndpointURI ("http://jchung:8080/dsmc/DSMCOther";);
>     ...
>   }
>  
>     <mx:WebService
>         fault="wsFault (event)"
>         id="dsmcWs"
>         protocol="http"
>         wsdl="http://jchung:8080/dsmc/DSMC?wsdl";>
>         <mx:operation name="testTimeOut" 
result="handleTestTimeOutResult
> (event.result)"/>
>     </mx:WebService>
>  
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Matt Chotin
> Sent: Wednesday, October 12, 2005 9:27 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] How would I use a variable to define the 
wsdl
> param in mx:WebService?
> 
> 
> 
> You can't redefine the wsdl parameter of a webservice in 1.5 (you 
can in
> the upcoming 2.0).  However if you're just trying to change the 
server
> to hit as opposed to the actual method definitions you can change 
the
> endpointURI for the service.  Check the docs for more details on 
that.
> 
>  
> 
> Matt
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Greg Johnson
> Sent: Wednesday, October 12, 2005 8:42 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How would I use a variable to define the wsdl
> param in mx:WebService?
> 
>  
> 
> iow <mx:WebService id="maincfc" wsdl=maincfc>
> 
> Where I set a variable maincfc
> var maincfc:String = "http://... ";
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 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 
> 
> 
>       
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>         
> *      To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>         
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
> 
> ________________________________
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/
 



Reply via email to