I am building an application in Flex 2.0 which requires loading a wsdl
and calling methods on the wsdl. I have been doing this in Flex 1.5
for along time as well.
When running locally the wsdl loads and I am able to call methods
successfully but once deployed to a webserver outside of the domain of
the endpoint I get a security error: Channel.Security.Error
I am not sure how to resolve this error or if I need to use a
cross-domain policy file, etc?
Below is a simple example of the .mxml:
<mx:WebService id="wsdl"
wsdl="http://mywsdlurl?wsdl"
useProxy="false"
fault="e.trace(event.fault.toString())"
load="e.trace(event.toString());"
showBusyCursor="true" >
<mx:operation name="getTextRule"
result="this.handler.setSelectedTextRule(event.result.ruleText);">
<mx:request>
<payload>TextRule_4</payload>
</mx:request>
</mx:operation>
</mx:WebService>
If anyone could assist me I would be greatful.
Thanks,
Eric Feminella
Also: what happened to the network monitor in Flex 2.0? Is it still
available?
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/