This content has been marked as final. Show 3 replies
Is that because we need to run the complied swf files, but we call the webservice at real time, so the application cant load the webservices?
Can you a portion of your code please? You need to run the SWF file, and yes, you call the web service at real time. As long as the web service is available when you call your SWF, there shouldn't be a problem.
Following is how I call the webservice in mxml:
<mx:WebService id="wsBlogAggr" wsdl=" http://ip_address?WSDL" useProxy="true" showBusyCursor="true">
<mx:operation name="getAllAccounts" result="getAllAccountsInStringResult(event)"/>
<mx:operation name="removeAccount" result="removeAccountResult(event)"/>
private function UIComplete():void
private function getAllAccountsInStringResult(ev:ResultEvent):void
// do sth
I think my code is right. As I can call the webservice in flex2 server successfully, however, when i just open the generated swf file, it already show me the error about
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL ( http://ip_address?WSDL)"
I verified that I can access to the wsdl url.
So, after I deploy the EAR / WAR, also display that error to me.