Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

To Richard Monson-Haefel--question about your book

 
Jack Zhou
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mr Monson-Haefel,
Question 1. I find this element <wsdl-file>/WEB-INF/wsdl/bookquote.wsdl</wsd> is also used for webserice-description for EJB endpoint in your book on page 699. I guess for EJB endpoint it sould be
<wsdl-file>/META-INF/wsdl/bookquote.wsdl</wsd>
Which is correct?
Thanks,
 
Tong Chen
Ranch Hand
Posts: 1011
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<wsdl-file>/META-INF/wsdl/bookquote.wsdl</wsdl-file>
is correct!
 
Richard Monson-Haefel
author
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ouch! Your right. That's an error. Actually two of the elements are wrong. Here is the fix:
Listing 23-5, page 699
CHANGE
<wsdl-file>/WEB-INF/wsdl/bookquote.wsdl</wsdl-file>
<jaxrpc-mapping-file>/WEB-INF/bookquote.map</jaxrpc-mapping-file>

TO
<wsdl-file>/META-INF/wsdl/bookquote.wsdl</wsdl-file>
<jaxrpc-mapping-file>/META-INF/bookquote.map</jaxrpc-mapping-file>
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!