10.07.2015 Views

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If the user is online, but in an ‘away’ status, you will see the output shown inFigure 4-4.Figure 4-4 Console output for a Sametime user that is awayNow that we have built, compiled, and run our UserStatus application, the nextstep is to turn the application into a <strong>Web</strong> service.4.4 Creating the UserStatus <strong>Web</strong> serviceUsing tools that come as part of <strong>Web</strong>Sphere Studio Application Developer, it ispossible to expose an existing Sametime application as a <strong>Web</strong> service withoutwriting a single line of code. Using <strong>Web</strong>Sphere Studio Application Developer’s<strong>Web</strong> services wizards, we will expose a <strong>Web</strong> services layer on top of theUserStatus application.The first step in creating an UserStatus <strong>Web</strong> service is to create a <strong>Web</strong> project tocontain it:1. Select File -> New -> Project.2. Select <strong>Web</strong> in the left list box and then <strong>Web</strong> Project in the right list box. ClickNext.3. Give the project a name (we called ours RedbookService). Then click Next(Figure 4-5 on page 98).Chapter 4. <strong>Web</strong> services 97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!