Here is the mxml. I can not display the url to the
wsdl however. Hope
this helps:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="this.initBindingHandler()"
layout="vertical"
backgroundColor="#000000" backgroundGradientColors="[#000000,
#000000]">
<mx:Script>
<![CDATA[
import com.bindings.managers.BindingHandler;
[Bindable]
public var bindingHandler:BindingHandler;
public function initBindingHandler():void {
this.bindingHandler = new BindingHandler(this.wsdl);
this.bindingHandler.setUI(this.textRuleComboBox,
this.textRuleTextArea, this.bindingsDataGrid, this.xmlrpcTextArea,
this.selectedTextRuleLabel);
this.bindingHandler.loadDataProvider();
}
]]>
</mx:Script>
<mx:WebService id="wsdl" wsdl="http://?wsdl"
fault="e.show(event.fault.toString())"
useProxy="true"
showBusyCursor="true" >
<mx:operation name="getTextRule"
result="this.bindingHandler.setSelectedTextRule(event.result.ruleText);"
>
<mx:request>
<payload>{this.bindingHandler.selectedTextRuleUqName}</payload>
</mx:request>
</mx:operation>
</mx:WebService>
--- In [EMAIL PROTECTED]ups.com,
"efeminella" <efeminella@...> wrote:
>
> Hey Carson,
>
> I can load the wsdl locally and call methods on the wsdl successfully
> when not using the Flex 2 Data Services. But once I attempt to run the
> wsdl in a Flex 2.0 App using the Flex 2 Data Services I get the
> following security error when attempting to load or call a method on
> the wsdl:
>
> [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
>
> I also tried adding a crossdomain.xml policy file to the root of the
> server that is hosting the wsdl with no success. Is their something I
> have to edit in the whitepapers, etc.
>
> Thanks in advance,
> Eric Feminella
> www.enterrasolutions.com
> [EMAIL PROTECTED]..
>
>
>
>
>
> --- In [EMAIL PROTECTED]ups.com,
"Carson Hager" <carson.hager@>
> wrote:
> >
> > If you can post your WebService MXML or ActionScript in use to invoke
> > the web service as well as the URL that you are using in the
browser to
> > run your Flex application, we can point you in the right
direction. You
> > may or may not need a crossdomain.xml file.
> >
> >
> > Carson
> > ____________________________________________
> >
> > Carson
Hager
> > Cynergy Systems, Inc.
> > http://www.cynergysystems.com
<http://www.cynergysystems.com/>
> >
> > Email: carson.hager@
> > Office: 866-CYNERGY
> > Mobile:
1.703.489.6466
> >
> >
> >
> > ________________________________
> >
> > From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> > Behalf Of efeminella
> > Sent: Thursday, July 13, 2006 12:34 PM
> > To: [EMAIL PROTECTED]ups.com
> > Subject: [flexcoders] Loading WSDL using Flex 2.0 Data Services
> >
> >
> >
> > I am running a Flex 2.0 Application on JRUN and I continue to recieve
> > the following error when attempting to load a wsdl:
> > Error loading WSDL:
> >
> > [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
> >
> > I am not sure what i need to do in order to load the wsdl...
> > crossdomain-policy.xml etc.
> >
> > Any advice would be greatly appreciated.
> >
> > Thanks in advance,
> > Eric Feminella
> >
>