Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-02-2010, 05:45 PM   #1
saha ch
Registered User
Join Date: Jan 2010
Posts: 13
Default How to point to a backup server from flex

I have two servers one primary and other backup and using webservices to communicate with the servers from Flex. So i have two wsdl's one for each of them. Initially i need to point to the primary and if there is any problem with this server i need to point to the backup. How do i achieve this from Flex. I am using proxy service and defined a destination and have the wsdl in proxy-config.xml. My code is as below.

primary wsdl

backup wsdl
service = "SoapService"
port = "BasicHttpBinding_SOAPService"
destination="genesysWS" showBusyCursor="false"
useProxy="true" >
<mx:operation name="GetUnitsStatistics" resultFormat="object"
fault="mx.controls.Alert.show(event.fault.faultStr ing)"

My proxy-config has

<destination id="genesysWS">
<adapter ref="soap-proxy"/>
saha ch is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:18 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.