Databases Reference
In-Depth Information
6.
Finally, click the Create Process button to complete the wizard. Now run your
form. Specify the three-letter currency code in the FromCode and ToCode
fields, and click the Get Currency Rate button. You should be able to see the
currency rate returned in the ReturnedRate field (as shown in Figure 3-24).
Figure 3-24. The web service call in action
Note As the web service used in this example is hosted online, you will need to ensure that the server hosting
your APEX instance has a live connection to the Internet for this sample to work.
How It Works
The Web Service References section provides a global shared area that allows you to define web service
data sources. Centralizing your web service references in one location instead of hard-coding them all
over your application can make your application easier to maintain when the URL or address of the web
service changes.
Web services can be called at any point in the execution of your form—when your form loads up, when a
button is clicked, or when a particular condition is met. APEX also supports two different types of web-
services: RESTful web services and WSDL-based web services.
 
Search WWH ::




Custom Search