Calendar

March 2006
M T W T F S S
« Feb   Apr »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Tag Cloud

Categories

Archives

Highest Rated

Most Viewed

Recent Posts

Recent Comments


« Installing AS3VOGenerator | Main | Flex Ajax Bridge »

WebService setup for FDS

By Rich Tretola | March 7, 2006Print This Post Print This Post
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
143 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

Share/Save/Bookmark

Topics: Flex 2, Tutorials |

One Response to “WebService setup for FDS”

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

    Thnaks a lot

Comments