• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

24. Web Services > 24.3. Producing Web Services

Producing Web Services

Producing (or publishing, as it’s sometimes referred to) web services in ColdFusion MX is a very simple proposition. In fact, many people have made the claim that it is the easiest way to create and publish web services. While I won’t go that far, I can say that claim is not far from the mark. In essence, you already know everything necessary to publish a simple web service: you learned it back in Chapter 22, ColdFusion Components.

To convert a CFC into a web service, all you need to do is set to remote the access attribute of any component methods (cffunction) you want to expose as web services. That’s all there is to it. To show you just how easy it is to produce a web service in ColdFusion MX, consider the code shown in


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint