Question

In FlexBuilder 3, there are two items under the 'Data' menu to import and manage web services. After importing a webservice, I can update it with the manage option. However, the webservices seems to disappear after they are imported. The manager does however recognize that a certain WSDL URL was imported and refuses to do anything with it.

How does the manager know this, and how can I make it refresh a certain WSDL URL?

Was it helpful?

Solution

In your src folder of the flexbuilder project you should see the generated classes. For instance, if you use the manager to generate the proxy classes for www.example.com you should see the folders /com/example with the generated proxy classes inside.

To consume these webservices in ActionScript use the statement:

"import com.example.*;"

To consume the webservice in mxml include the .as file using:

<mx:Script source="yourscriptname.as"/>

To refresh the generated proxy classes, consuming the latest WSDL, simply open the manager and select "update".

Also, I found this article very useful for consuming web services.

I hope that helps, the question was kind of vague about the problem.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top