Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using the Services Browser

From: ColdFusion Builder Essential Training

Video: Using the Services Browser

The Services Browser in ColdFusion Builder gives you access to all of the ColdFusion components on your ColdFusion server as well as external Web services that you can add directly inside the Services Browser. So, let's first take a look at the ColdFusion components. If you don't already have the Services Browser open in this bottom group of views, you can choose Window > Show View and find the Services Browser. I want to make this a little bit larger so we can get in here and play. I'll expand my Local CF9 server and here I can see all of the components that are currently available to me inside of my application.

Using the Services Browser

The Services Browser in ColdFusion Builder gives you access to all of the ColdFusion components on your ColdFusion server as well as external Web services that you can add directly inside the Services Browser. So, let's first take a look at the ColdFusion components. If you don't already have the Services Browser open in this bottom group of views, you can choose Window > Show View and find the Services Browser. I want to make this a little bit larger so we can get in here and play. I'll expand my Local CF9 server and here I can see all of the components that are currently available to me inside of my application.

If I expand the cfcs package here, I can see all of the components that are currently inside that directory, and if I go take a look here inside my Navigator view, you can see all of those matching components. As I expand each component, I can also see its location and each of its individual methods and the type of method that it is. As you notice this small gift wrapped box here, that's a package method. The init method is public, and I could also show private and remote methods. If I only want to be able to see public methods, I can also turn off specific methods by clicking these boxes here at the top.

So, I'll deselect the Show Package option and all the package methods disappear. I'll click it again and they show up. You can also use the Services Browser to insert calls directly to methods, which I'll cover later in this course when we talk more about components. Now if you are building any sort of application that requires access to the ColdFusion Administrator APIs, you can click the little lightning bolt icon here and it will actually show you all of the system cfcs. Here, I can see cfdocs, CFIDE and all of the Administrator API functionality.

If I deselect the lightning bolt, all those will disappear again. So, as I said earlier, that's all we are going to cover for components in the Services Browser for now, but I'll show you some more about that later on in the course. Next, we're going to take a look at Web services. In the upper right-hand corner here, I can click on the Show Web Services icon and it switches over to this nice empty screen. So, what we're going to do now is actually consume a Web service from the Adobe Feeds Website. I have the Web site open in Safari already. So, we'll switch over to Safari and I'm on feeds.adobe.com/Developers.cfm.

Here on the page, it lists a WSDL file that defines the Web service for the Adobe XML News Aggregator. I'm going to copy that WSDL URL, go back to my Services Browser, and click the Plus icon. This will bring up the Add WSDL dialog where I can paste in my URL and click OK. The ColdFusion server will then go out, take a look at that WSDL file and then show me all of the methods that are available on that particular service. I just need to expand the nodes here until I see all of the methods.

Now just like with components I can actually insert calls directly to these methods in my code. In the Chapter 3 folder, I have an empty index.cfm file ready to go. So, if I want to call the getCategories method of this Web service, I can right-click and choose Insert CFInvoke. So, the CFInvoke tag already has my WSDL URL set up for the Web service attribute. It's calling the proper method and then putting the results into this ws return variable. So, now I'm going to add a cfdump and actually dump out the results of that variable to make sure it's actually working.

So, if I click on the Safari tab, I'm going to get an alert that there is no server yet configured. While I've added a server to the Servers view I have yet to associate it with my project. So, I'll click OK and switch back to my Code view and then in the Navigator, I'll right-click on my project, choose Properties, and then in the ColdFusion Server Settings section, just choose the server that I want to relate to this project, click OK. I'll switch back to the Safari tab, and here I can see the results of the getCategories method call to that Web service.

If I have more Web services I'd like to use, I can just click the Plus icon again and continue to add WSDL files until I have everything I need. So, the Services Browser is probably something you are going to keep open all the time so that you can quickly gain access to all of your components and all of your Web services as you continue developing your applications.

Show transcript

This video is part of

Image for ColdFusion Builder Essential Training
ColdFusion Builder Essential Training

40 video lessons · 3964 viewers

Daniel Short
Author

 
Expand all | Collapse all
  1. 7m 48s
    1. Welcome
      59s
    2. Installing ColdFusion Builder
      2m 20s
    3. Installing ColdFusion Builder as a plug-in
      3m 18s
    4. Using the exercise files
      1m 11s
  2. 17m 42s
    1. Workspace overview
      2m 25s
    2. Organizing your workspace
      6m 19s
    3. Adding and selecting workspaces
      2m 53s
    4. Installing and managing plug-ins
      6m 5s
  3. 12m 12s
    1. Creating projects
      2m 11s
    2. Importing projects
      2m 48s
    3. Creating project working sets
      2m 23s
    4. Managing projects
      2m 22s
    5. Linking folders
      2m 28s
  4. 23m 2s
    1. Configuring and managing ColdFusion servers
      6m 26s
    2. Using the Services Browser
      4m 15s
    3. Using RDS Dataview and Fileview
      4m 52s
    4. Using FTP
      7m 29s
  5. 18m 10s
    1. Creating editor profiles
      2m 6s
    2. Using Code Assist
      5m 43s
    3. Setting code coloring
      4m 5s
    4. Using shortcut keys
      3m 5s
    5. Working with outlines and syntax checking
      3m 11s
  6. 37m 40s
    1. Using code completion
      7m 25s
    2. Using snippets
      9m 23s
    3. Using SQL editing and the Query Viewer
      5m 55s
    4. Working with components
      7m 27s
    5. Working with variable mapping
      2m 14s
    6. Navigating code and documents
      5m 16s
  7. 13m 12s
    1. Getting set up
      3m 50s
    2. Using the ColdFusion debugger
      5m 37s
    3. Watching logs with Tailview
      3m 45s
  8. 13m 8s
    1. Installing extensions
      4m 5s
    2. Using the CFC Generator extension for ColdFusion 8
      4m 52s
    3. Using the CFC Generator extension for ColdFusion ORM
      4m 11s
  9. 34m 5s
    1. Building a simple contact form extension
      3m 42s
    2. Creating user interfaces
      8m 55s
    3. Packaging the extension
      3m 55s
    4. Building the handler
      8m 10s
    5. Using the Builder extension
      9m 23s
  10. 25s
    1. Goodbye
      25s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed ColdFusion Builder Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.