Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

web service url redirecting problem


Level 2

I am working on a form developed by LC Designer that will call a web service from our web server.

In the WSDL, the soap address location points to,

however our web server will perform load balance by directing all to a new url

either or

The result is that nothing is returned after executing the webservice call, I can't catch any error

after xfa.connectionSet.WebServiceDC.execute(false); just nothing returns after the call.

I suppose it is the problem that the url has been redirected to a different one.

However if the soap address location points directly to either www1 or www2, the call returns result alright.

Is there way or script that I can handle by redirecting a web service to a different URL like that in Adobe Flex?

That is what I found from the web for Adobe Flex :

public function onLoginResult(event:ResultEvent):void {

//Extract the new service endpoint from the login result. 
var newServiceURL = event.result.serverUrl;

// Redirect all service operations to the URL received in the login result. 

Best Rgds.

0 Replies