« "XMLData.parse" and Finding Nodes | Main | Download AIR Beta 2 »

Changing a WebService Definition at Runtime

If you have webservice calls predefined in your Data View at design time, you can easily change their definitions at runtime by modifying their soapAddress value. This will allow you to dynamically change which servers or services you are using. Of course, if you do change the soapAddress you need to be certain that the input and output requirements of the services are fulfilled.

This practice is particularly useful when there is a need to change servers at runtime (i.e.: switch between your development and deployment environments without changing forms).

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)