Unfortunately in 1.5 you can’t change the location of the wsdl using binding.  Instead what you can do is have the WSDL at a well-known location, but the change the endpointURI after the WSDL has loaded to go to the dynamic location.

 

Docs here: http://livedocs.macromedia.com/flex/15/flex_docs_en/00000770.htm, but note it has bad capitalization of setEndpointURI (lower-case ‘p’ is correct).

 

Matt

 

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Carolyn Cole
Sent: Wednesday, February 22, 2006 7:20 AM
To: [email protected]
Subject: [flexcoders] Webservice wsdl

 

Hello,

I would like to use a variable to point the wsdl location of my web service, but I can not seem to get it to work.

I have the following variable set in my action script section of my mxml:

        var wsdlLocation: String = " https://arl3469.arl.psu.edu:8443/uaim-webService/UAIMService.wsdl ";

I then try to bind to it in my webservice definition:
    <mx:WebService id="uaimWS" wsdl="{wsdlLocation}" showBusyCursor="true">
        ...
    </mx:WebService>

I get the following error:

        Could not load WSDL:
        404 /flex/uaim/{wsdlLocation}

Does anyone know of a way that I can use a variable to specify my wsdl location?

-- Carolyn

        




--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS





Reply via email to