I'm not satisfied with quite many of the examples as well. Here's a wsdl document and what the activestate wsdl validator (Perl based - on of the authors is a Perl SOAP::Lite maintainer) says about it:
http://www.ulf-wendel.de/tmp/Owner.wsdl
http://wsdl.activestate.com:8080/validator/?uri=http%3A%2F%2Fwww.ulf-wendel.de%2Ftmp%2FOwner.wsdl
It took me roughly one hour to correct it:
http://www.ulf-wendel.de/tmp/Owner_new.wsdl
http://wsdl.activestate.com:8080/validator/?uri=http%3A%2F%2Fwww.ulf-wendel.de%2Ftmp%2FOwner_new.wsdl
One must be wrong: the book or the validator. As one can spot some more bugs within the examples I tend to belive the book is wrong and needs some corrections. 35 USD is a lot for just 160 pages of content, you should come up with an errata as soon as possible or even better stop this edition and provide a new one.
This is the very first O'Reilly book I've to rate with less than four of five stars :(.
|