I've noticed that most of the Java Web Services books seem to take a lot of negative hits from the people who've posted reviews on Amazon.
Plus, there don't seem to be any really new ones. Most of the reviews, for example, say the existing books are "obsolete".
Based on what I've read here today, I'm going to install Axis on top of Tomcat and play with that, but are there any good recommended books out there? Perhaps the reviews on Amazon don't reflect the Java Ranch members' views?
I really learn best when I have a good book, some straightforward examples, you know, get a "Hello World" Web Service working first, then add more.
web services specifications and protocols are still fast growing past few years.
monson-haefel said in his book that, now is a good time to learn, as the technologies start to settle down.
when i searched for books, monson-haefel's is the latest book(published 2003 or 2004 i think).
i however started with Beginning JWS(published 2001 i think). I think it is the best intro. The whole book is peppered with codes and instructions on how to run them. They all ran, when I tried. Yes, axis is used in this book. This book is designed for beginners, so you cannot go wrong. ( For xml, i didnt read it's chapter, but i did the handson. For xml, i used Building JWS' chapter on xml.)
but monson-haefel is probably the best for jws, so once you are comfortable, you can jump in to this book and master jws.
I found Richard Monson-Haefel book "J2EE Web Services" the best from what I have read till now.He is very clear in his explanation,answers concisely wherever doubts arise. I recommend you give this book a look too
Joined: Jul 12, 2002
Can anybody get the first example working from "Beginning Java Web Services"?
I cut and pasted it, imported the libraries from Xerces 2_7_1 and tried to just run the code and got this:
Exception in thread "main" org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it. at org.apache.xerces.dom.CoreDocumentImpl.saveXML(Unknown Source) at com.wrox.jws.stockstore.StockCoreDOMGenerator.saveDocument(StockCoreDOMGenerator.java:115) at com.wrox.jws.stockstore.StockCoreDOMGenerator.main(StockCoreDOMGenerator.java:149)
This is quite discoraging since it's the first example!
I tried the other version of xerces I had, but got a different error.
Is this the way Web Services are? (Lots of NOT fun...)
Is this book (2002) really too old for serious consideration?
I may need to try another book, but the Wrox books are generally excellent.
I tried to write one of the authors, post a message on the Apress site, and do everything else I could think of but nobody seems to have an answer.