13.07.2015 Views

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

Follow the steps below to use the generated test client in order to test the WebService.1. Open the Server perspective or switch to it if you have it already open.2. Find the following ConsultationHelper folder by clicking itsobankWeb -> WebContent -> sample -> ConsultationHelper.3. Right-click the TestClient.jsp file, then select Run on Server. A Web browseropens with the requested URL.A window appears with three frames. In the leftmost frame, the followingmethods should be listed:– setEndPoint– getEndPoint– getBranchBalance– getCustomerBalance4. Click the getBranchBalance link.5. The upper-right frame changes: a text field appears for you to input thebranch ID. Type raleigh into the field, then click Invoke.6. After invocation, the result frame changes and, after a couple of seconds andseveral messages on the console, the result should appear in the frame.7. Check the getCustomerBalance method also, with the following parameters:– Customer ID: johnd– Account Number: 11223344-12345678If the code is working, you should see the proper numbers under the resultframe after invoking the methods with the parameters.XML-SOAP Admin ToolThe Web Services Admin tool is provided for the sample Web Services and isgenerated automatically with the code. Start a browser, then enter the followingURL:http:///itsobank/admin/index.htmlClick the list all services link to see all the available services for this sample;you should see a window similar to Figure 7-12.136 <strong>IBM</strong> <strong>WebSphere</strong> <strong>V5.0</strong> <strong>Security</strong> Handbook

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

Saved successfully!

Ooh no, something went wrong!