16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

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

142 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

7.9<br />

Figure 7.9 – Test results in Web Services Explorer of Eclipse<br />

Part 2 - Creating a Data Web Service<br />

Procedure<br />

After reviewing the video mentioned in section 7.4:<br />

Create a project in IBM Data Studio connecting to the SAMPLE database in DB2<br />

1. Create a script using the following statement: select * from staff<br />

2. Create a SOAP and REST Web service using the above script, deploy it to<br />

Community Edition and test it<br />

7.7 Review questions<br />

1. Is there any difference between developing a service endpoint on Community<br />

Edition and on other application servers?<br />

2. How do you generate the stubs that are used in a Web client to consume Web<br />

services?

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

Saved successfully!

Ooh no, something went wrong!