PDA

View Full Version : help connecting to a webservice


PedriCronje
03-04-2008, 04:38 PM
Hi,

I've build an application in flex 2, and I need to connect to a webservice. On my local machine it works fine, but once I moved it to the seve I get the following error.

[FaultEvent fault=[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://www.abysal.com/soap/AbysalEmail.wsdl)"] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2]

This is what my webservice call looks like:


<mx:WebService id="emailService" wsdl="http://www.abysal.com/soap/AbysalEmail.wsdl" useProxy="false" fault="defaultFault(event)" result="log(event)" >

<mx:operation name="SendEmail" resultFormat="e4x" fault="showErrorDialog(event)" result="log(event)">


Any help would be appreciated. :(

Pedri Cronje

dr_zeus
03-04-2008, 06:12 PM
Is your SWF on www.abysal.com? If not, it doesn't work because www.abysal.com doesn't have a crossdomain.xml.