Question 4 Address the following questions that are specific to the sample web s
ID: 3899390 • Letter: Q
Question
Question 4
Address the following questions that are specific to the sample web service applications of Week 11 tutorial.
1. What is an end point? To access the end point from a web browser, what will be returned?
2. RPC style web service uses a convention to register target name space and service name, what is it? Note: you will need to refer to the WSDL document of Task 1 of Week 11 tutorial to address this question.
3. Refer to the HelloWorldClient.java, describe how to look up a web service and what is returned by the lookup
4. Task 2 or Week 11 tutorial introduces another way to create the HelloWorldClient with the aid of wsimport tool. Compare the HelloWorldClient in Task 1 and Task 2 to address why using wsimport tool is a better way to create the client of a web service.
5. Based on the practical programming tasks of web service of Week 11, address the main difference between web service and normal (or generic) client/server and the main role of web service.
week 11 tutorial:
part-1
https://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example/
part-2
https://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example/
Explanation / Answer
Please Note: As per Chegg Answering Guidelines, I have answered the first question. Please Post Separate for Separate Questions.
1. What is an end point? To access the end point from a web browser, what will be returned?
Answer)
The end point is a URL where you can access the by the client application such as a browser. Thus a web service can have many endpoints which differs in the use of the protocols. The endpoints are a connection point where the HTML files are exposed and can be accessed by the Web service endpoint. The endpoint set forward the message addressing properties and gives the end to end message properties and also identifies the independent messages for uniform addressing. To access the end point from a web browser i.e a client application, the service of the web page will be returned.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.