Search

 

March 2006
S M T W T F S
« Feb   Apr »
 1234
567891011
12131415161718
19202122232425
262728293031  

Tags

Archives


« | Main | »

WebService setup for FDS

By Rich Tretola | March 7, 2006
3,234 views

Updated for Flex FDS

After struggling for a while to get my webservice setup under FES FDS, I finally got all working properly last week so I thought I would post some insight.

Here is the config that you will need to use for FES FDS:

Add an entry like this to your flex-proxy-service.xml proxy-config.xml file:
<destination id=”myWS” adapter=”soap-proxy”>
<properties>
<wsdl>http://www.whatever.com/Mywebservice.wsdl</wsdl>
<soap>http://www.whatever.com/Mywebservice*</soap>
</properties>
</destination>

Now restart your FES FDS server.

Next add a webservice tag to your application using the id as the  destination

<mx:WebService id=”myWS”
destination=”myWS”
useProxy=”true”
showBusyCursor=”true”
concurrency=”single”
result=”mx.controls.Alert.show( event.result )”
fault=”mx.controls.Alert.show( event.fault)”>
</mx:WebService>

Call your methods using myWS as the identifier. Ex: myWS.myMethod();

Note:  If you wish to use a named service within FlexBuilder (non FES FDS application) you will need to add an argument to your Flex Compiler arguments under the project properties:
mxmlc –services=./mypath/to/flex-enterprise-services.xml etc

Topics: Flex 2, Tutorials | 2 Comments »

2 Responses to “WebService setup for FDS”

  1. JoeService Says:
    January 20th, 2008 at 4:15 pm

    Thnaks a lot

    Reply to this comment

  2. myws Says:
    March 22nd, 2010 at 1:37 pm

    [...] starting with the free Make Your Words Sell http://myws.sitesell.com/learnhow1.html for example. …WebService setup for FDS | EverythingFlex: Flex & AIRCall your methods using myWS as the identifier. Ex: myWS.myMethod(); Note: If you wish to use a [...]

Comments