[ Team LiB ] |
Debugging and Testing Using WorkshopApplications developed in Workshop can be tested with the click of a button. WebLogic Workshop comes with a full debugging and test environment to test J2EE applications and Web Services. Debugging a Web ApplicationHow many times have you written 100% error-free code? Workshop comes with a debugger that has all the features of a standard debugger that you might be used to—with the ability to set breakpoints, step through your code line-by-line, view local variables, and set flags on variables. This debugger can be used to test Web applications from within Workshop. Debugging a Web ServiceWebLogic Workshop enables you to use the same debugging concepts to debug Web Services that you as a developer are used to for debugging your Java applications. With Workshop, you can set up breakpoints or do a step-by-step execution of your Web Service. This is covered briefly in Chapter 30. Testing a Web ServiceAfter you've written and debugged your Web Service, it's time to see it in action. Workshop automatically generates test JSPs that enable you to walk through the execution of your Web Service and see the SOAP and XML data that is being passed back and forth. You can also double-check the WSDL and SOAP that define the Web Service. The test JSPs support the testing for both synchronous and synchronous Web Services. Figure C.5 shows a sample test view. Figure C.5. Web Services testing. |
[ Team LiB ] |