• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Questions on deployment chapter from RMH

 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one clarify some queries I have on deployment chapter of RMH
1.Between chapters 22 and 23 .. I found lot of similarity and some confusions. The service-ref element is used in web.xml and ejb-jar.xml ,then what is the use of webservice.xml , it seems a duplication .
I was thinking chapter 22 depicted a client deployment and chapter 23 was a server deployment so the webserivces.xml is used only for endpoint deployment and not J2EE client deployment.

2. In the chapter 24 pg 715. It say Listing 24-1 has two difference between the heavy height WSDL definition . One the style="rpc" and the other encoding but I havent been able to see any encoding namespace or encoding used to show encoding in listing 1.

Thanks
Dhiren
 
Richard Monson-Haefel
author
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not totally sure what the question is (sorry), but the webserivces.xml file is used in conjuntion with J2EE Web Service components, the JAX-RPC Service Endpoints and the EJB Endpoints. The service-ref element is simply configuring a JAX-RPC client side gererated stub or dynamic proxy so that the J2EE component, be it a Servlet, JSP, or EJB, can access that stub/proxy to communicate with some other Web service.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic