Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

To Richard Monson-Haefel--question about your book

 
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,
 
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!
 
author
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>
 
I will open the floodgates of his own worst nightmare! All in a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic