BESTPROOFINGSERVICE.COM

digital proofing system - www.bestproofingservice.com

Menu


<td>#Event#</td> <td>#Date#</td> <td>#Location#</td> </tr> </cfoutput> </table> 4.


Scroll to the top of the page and place your cursor at the top-leftmost position on the page. From the Components panel, expand the CompanyEventsService node, and click, hold, and drag out the query getCompanyEvents function, placing it into the position where your cursor was. The web service call is added as follows:   <cfinvoke webservice="http://localhost/ DorknozzleCFM/cfc/CompanyEvents.cfc?WSDL" method="getCompanyEvents" returnvariable="aQuery"> </cfinvoke> 5. Save your work. To test the functionality in the browser, press F12. As you can see from Figure 30.23, the company events data is presented in the table. Figure 30.23. The company events data appears in the table. [View full size image]             Summary This chapter introduced you to some introductory concepts as they relate to web services. You learned how to create and consume web services using the supported ASP.NET and ColdFusion server models. You also learned how to create complex web services that interact with databases that return values to the consuming applications using both the ASP.NET web services and the ColdFusion web services/components model. As you can see, web services provide a lot of programming flexibility and code reuse. When used appropriately, web services in your applications can cut development time and allow you to share vital portions of your applications with the outside world.           Part VII: Appendixes and Bonus Content on the Website