Magazine
 
Web services with Lomboz plug-in
 



12. Continue the wizard by clicking next and finish.

13. On Finish, the Tomcat server starts up and launches the Test client.

14. Verify the generated contents. Look for Hello.class and the generated JSPs as below.


 

15. Verify the Tomcat folder and ensure the newly created web applications – WebServiceTutorial, WebServiceTutorialClient.



16. We can also run the following url from the browser to access/test the Web service. http://localhost:8080/
WebServiceTutorialClient/ sampleHelloProxy/TestClient.jsp
If servlet error“org.eclipse.jst.ws.util.JspUtils cannot be resolved or is not a type” is thrown on the browser, then copy the webserviceutils.jar file from the

E:\Eclipse3.1\eclipse\plugins\
org.eclipse.jst.ws.consumption_0.7.0 into the WEB-INF\lib folder of the WebServiceTutorialClient application and restart the Tomcat server.

17. The browser displays the methods available in the web service.

Sept 2007 | Java Jazz Up | 53
previous
index
next
 
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

30
, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 , 54, 55, 56, 57,

58
, 59, 60, 61, 62, 63 , 64, 65 , 66 , 67 , 68 , 69 , 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,   Download PDF