| 1 |
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 |
<title>Axis: further reading</title> |
| 6 |
<link href="axis.css" rel=stylesheet type=text/css> |
| 7 |
</head> |
| 8 |
<body> |
| 9 |
|
| 10 |
<center> |
| 11 |
<h1> |
| 12 |
<img SRC="images/axis.jpg" height=96 width=176></h1></center> |
| 13 |
|
| 14 |
<h1>Recommended Reading</h1> |
| 15 |
|
| 16 |
Here are things you can read to understand and use Axis better. Remember, |
| 17 |
you also have access to all the source if you really want to find out how |
| 18 |
things work (or why they don't). |
| 19 |
|
| 20 |
<a name="axis"> |
| 21 |
<h2>Axis installation, use and internals</h2> |
| 22 |
</a> |
| 23 |
<ol> |
| 24 |
<li> |
| 25 |
<a href="http://www.pankaj-k.net/axis4tag/"> |
| 26 |
Web Services with JAX-RPC and Apache Axis.</a><br> |
| 27 |
by Pankaj Kumar. |
| 28 |
Starting with a 10000 ft. view of Web Services, prior technologies, current and emerging |
| 29 |
standards, it quickly gets into the nitty-gritties of using JAX-RPC and Apache Axis |
| 30 |
for writing and executing programs. Has a nice coverage of different invocation styles - |
| 31 |
generated stubs, dynamic proxy and dynamic invocation interface. A good place to start |
| 32 |
if you are new to Web Services and Axis. |
| 33 |
<br/> |
| 34 |
<br/> |
| 35 |
The author also maintains a <a href="http://www.pankaj-k.net/webservices/index.html"> |
| 36 |
Web Services Resource Page</a>. |
| 37 |
|
| 38 |
</li> |
| 39 |
|
| 40 |
<li><a href="http://www.sosnoski.com/presents/java-xml/axis/">Apache Axis SOAP for Java</a><br> |
| 41 |
Dennis Sosnoski covers Axis. This is another good introductory guide. |
| 42 |
|
| 43 |
<li><a href="http://www.sosnoski.com/presents/java-xml/axis/axis-monitor.html"> |
| 44 |
Enabling SOAPMonitor in Axis 1.0</a>.<br> |
| 45 |
Dennis Sosnoski on how to turn the SOAP monitor on and off, and use it to log your |
| 46 |
application. |
| 47 |
|
| 48 |
<li><a href="http://macromedia.com/support/jrun/extend/using_web_services/"> |
| 49 |
Axis in JRrun</a><br> |
| 50 |
Macromedia authored coverage of using Axis from inside JRun. |
| 51 |
|
| 52 |
<li><a href="http://www-106.ibm.com/developerworks/webservices/library/ws-eight/"> |
| 53 |
Ask the magic eight ball</a><br> |
| 54 |
Example of using an Axis service with various |
| 55 |
caller platforms/languages. |
| 56 |
|
| 57 |
<li> |
| 58 |
<a href="http://www.fawcette.com/javapro/2003_02/online/WSDL_kjones_02_27_03/"> |
| 59 |
Configure Axis Web Services |
| 60 |
</a><br> |
| 61 |
Kevin Jones talks a bit about configuring axis, showing how to return |
| 62 |
handwritten WSDL from the ?wsdl query. |
| 63 |
</li> |
| 64 |
|
| 65 |
<li> |
| 66 |
<a href="http://www.fawcette.com/javapro/2003_03/online/wsdl_kjones_03_10_03/"> |
| 67 |
Different WSDL Styles in Axis |
| 68 |
</a><br> |
| 69 |
Kevin Jones looks at the document and wrapped styles of WSDL2Java |
| 70 |
bindings. |
| 71 |
</li> |
| 72 |
|
| 73 |
|
| 74 |
<li> |
| 75 |
<a name="ws-sec" href="http://www.j2ee-security.net/book/sample-chap/">Web Services Security with Axis</a><br/> |
| 76 |
This sample chapter from <a href="http://www.j2ee-security.net/"><i>J2EE Security for Servlets, |
| 77 |
EJBs and Web Services</i></a> book explains use of username/password based authentication, |
| 78 |
SSL and Servlet security mechanisms for securing the transport and |
| 79 |
WS-Security for securing the messages with Apache Axis. To illustrate use of handlers for |
| 80 |
enforcing security, it describes the implementation of a bare-bones WS-Security mechanism |
| 81 |
using <a href="http://www.xmltrustcenter.org/developer/verisign/tsik/index.htm"> |
| 82 |
VeriSign's TSIK</a> and JAX-RPC handlers. You can also |
| 83 |
<a href="http://www.j2ee-security.net/book/viewsource.php">view</a> or |
| 84 |
<a href="http://www.j2ee-security.net/book/dnldsrc/">download</a> the complete sources |
| 85 |
discussed in the chapter. |
| 86 |
</li> |
| 87 |
|
| 88 |
</ol> |
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
<a name="specifications"> |
| 93 |
<h2>Specifications</h2> |
| 94 |
</a> |
| 95 |
<ol> |
| 96 |
|
| 97 |
<li> |
| 98 |
<a href="http://www.w3.org/TR/SOAP/"> |
| 99 |
SOAP Version 1.1 |
| 100 |
</a><br> |
| 101 |
Remember that SOAP1.1 is not an official W3C standard. |
| 102 |
</li> |
| 103 |
<li> |
| 104 |
<a href="http://www.w3.org/TR/soap12-part0/"> |
| 105 |
SOAP Version 1.2 Part 0: Primer |
| 106 |
</a><br> |
| 107 |
This and the follow-on sections cover what the W3C think SOAP |
| 108 |
is and how it should be used. |
| 109 |
|
| 110 |
</li> |
| 111 |
<li> |
| 112 |
<a href="http://www.w3.org/TR/wsdl"> |
| 113 |
Web Services Description Language (WSDL) 1.1 |
| 114 |
</a><br> |
| 115 |
</li> |
| 116 |
<li> |
| 117 |
<a href="http://ietf.org/rfc/rfc2616.txt"> |
| 118 |
RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1 |
| 119 |
</a><br> |
| 120 |
This is HTTP. You really do need to understand the basics of how this |
| 121 |
works, to work out why your web service doesn't :) |
| 122 |
</li> |
| 123 |
<li> |
| 124 |
<a href="http://java.sun.com/xml/saaj/index.html"> |
| 125 |
SOAP with Attachments API for Java (SAAJ) |
| 126 |
</a><br> |
| 127 |
SAAJ enables developers to produce and consume messages conforming to |
| 128 |
the SOAP 1.1 specification and SOAP with Attachments note. |
| 129 |
</li> |
| 130 |
<li> |
| 131 |
<a href="http://java.sun.com/xml/jaxrpc/index.html"> |
| 132 |
Java API for XML-Based RPC (JAX-RPC) |
| 133 |
</a><br> |
| 134 |
The public API for Web Services in Java. |
| 135 |
JAX-RPC enables Java technology developers to develop SOAP based |
| 136 |
interoperable and portable web services. JAX-RPC provides the core API |
| 137 |
for developing and deploying web services on the Java platform. |
| 138 |
</li> |
| 139 |
|
| 140 |
<li> |
| 141 |
<a href="http://www.w3.org/TR/xmlschema-0/"> |
| 142 |
XML Schema Part 0: Primer |
| 143 |
</a><br> |
| 144 |
The W3C XML Schema, (WXS) is one of the two sets of datatype SOAP |
| 145 |
supports, the other being the SOAP Section 5 datatypes that predate |
| 146 |
WXS. Complicated as it is, it is useful to have a vague understanding |
| 147 |
of this specification. |
| 148 |
</li> |
| 149 |
|
| 150 |
<li> |
| 151 |
<a href="http://java.sun.com/xml/jaxm/index.html"> |
| 152 |
Java API for XML Messaging (JAXM) |
| 153 |
</a><br> |
| 154 |
JAXM enables applications to send and receive document oriented XML |
| 155 |
messages using a pure Java API. JAXM implements Simple Object Access |
| 156 |
Protocol (SOAP) 1.1 with Attachments messaging so that developers can |
| 157 |
focus on building, sending, receiving, and decomposing messages for |
| 158 |
their applications instead of programming low level XML communications |
| 159 |
routines. |
| 160 |
</li> |
| 161 |
|
| 162 |
</ol> |
| 163 |
|
| 164 |
<a name="presentations"> |
| 165 |
<h2>Explanations, articles and presentations</h2> |
| 166 |
</a> |
| 167 |
<ol> |
| 168 |
<li> |
| 169 |
<a href="http://www.intertwingly.net/stories/2002/03/16/aGentleIntroductionToSoap.html"> |
| 170 |
A Gentle Introduction to SOAP |
| 171 |
</a><br> |
| 172 |
Sam Ruby tries not to scare people. |
| 173 |
</li> |
| 174 |
<li> |
| 175 |
<a href="http://www.intertwingly.net/stories/2002/02/15/aBusyDevelopersGuideToWsdl11.html"> |
| 176 |
A Busy Developer's Guide to WSDL 1.1 |
| 177 |
</a><br> |
| 178 |
Quick intro to WSDL by the eponymous Sam Ruby. |
| 179 |
</li> |
| 180 |
<li> |
| 181 |
<a href="http://www.ociweb.com/javasig/knowledgebase/2002Sep/"> |
| 182 |
Axis - an open source web service toolkit for Java</a><br> |
| 183 |
by Mark Volkmann, Partner, Object Computing, Inc. A very good introduction |
| 184 |
to SOAP and Axis. Highly Recommended. |
| 185 |
|
| 186 |
<li> |
| 187 |
<a href="http://www.iseran.com/Steve/papers/when_web_services_go_bad.html"> |
| 188 |
When Web Services Go Bad |
| 189 |
</a><br> |
| 190 |
Steve Loughran tries to scare people. |
| 191 |
A painful demonstration how deployment and system management are |
| 192 |
trouble spots in a production service, followed by an espousal of a |
| 193 |
deployment-centric development process. Remember, it doesn't have to |
| 194 |
be that bad. |
| 195 |
|
| 196 |
</li> |
| 197 |
<li> |
| 198 |
<a href="http://servlet.java.sun.com/javaone/sf2002/conf/sessions/index.en.jsp"> |
| 199 |
JavaOne 2002, Web Services Today and Tomorrow </a><br> |
| 200 |
(Java Developer connection login required) |
| 201 |
</li> |
| 202 |
|
| 203 |
<li> |
| 204 |
<a href="http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXRPC.html"> |
| 205 |
The Java Web Services Tutorial: Java API for XML-based RPC </a><br> |
| 206 |
This is part of Sun's guide to their Java Web Services Developer Pack. |
| 207 |
The examples are all based on their JWSDP, but as Axis also implements |
| 208 |
JAX-RPC, they may all port to Axis. |
| 209 |
|
| 210 |
</li> |
| 211 |
|
| 212 |
|
| 213 |
<li> |
| 214 |
<a href="http://java.sun.com/blueprints/webservices/using/webservbp.html"> |
| 215 |
Using Web Services Effectively.</a><br> |
| 216 |
|
| 217 |
Blissfully ignoring issues such as versioning, robustness and security and |
| 218 |
all the other details a production Web Service needs, instead pushing EJB as |
| 219 |
the only way to process requests, this is Sun's guide to |
| 220 |
using web services in Java. It also assumes Java is at both ends, so manages |
| 221 |
to skirt round the interop problem. |
| 222 |
|
| 223 |
</li> |
| 224 |
|
| 225 |
<li> |
| 226 |
<a href="http://www.hpl.hp.com/techreports/2002/HPL-2002-274.html"> |
| 227 |
Making Web Services that Work</a><br> |
| 228 |
|
| 229 |
A practical but suspiciously code free paper on how to get web |
| 230 |
services into production. As well as coverage of topics such as |
| 231 |
interop, versioning, security, this (57 page) paper looks at the |
| 232 |
deployment problem, advocating a fully automated deployment process |
| 233 |
in which configuration problems are treated as defects for which |
| 234 |
automated test cases and regresssion testing are appropriate. |
| 235 |
Happyaxis.jsp is the canonical example of this. The author, Steve |
| 236 |
Loughran also looks a bit at what the component model of a federated |
| 237 |
web service world would really be like. |
| 238 |
|
| 239 |
</li> |
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
</ol> |
| 244 |
|
| 245 |
|
| 246 |
<a name="interop"> |
| 247 |
<h2>Interoperability</h2> |
| 248 |
</a> |
| 249 |
<ol> |
| 250 |
<li> |
| 251 |
<a href="http://www.intertwingly.net/stories/2002/02/01/toInfinityAndBeyondTheQuestForSoapInteroperability.html"> |
| 252 |
To infinity and beyond - the quest for SOAP interoperability |
| 253 |
</a><br> |
| 254 |
Sam Ruby explains why Interop matters so much. |
| 255 |
</li> |
| 256 |
<li> |
| 257 |
<a href="http://www.iseran.com/Steve/papers/interop/"> |
| 258 |
The Wondrous Curse of Interoperability |
| 259 |
</a><br> |
| 260 |
Steve Loughran on interop challenges (especially between .NET and Axis), |
| 261 |
and how to test for them. |
| 262 |
</li> |
| 263 |
</ol> |
| 264 |
|
| 265 |
<a name="advanced"> |
| 266 |
<h2>Advanced topics</h2> |
| 267 |
</a> |
| 268 |
<ol> |
| 269 |
<li> |
| 270 |
<a href="http://www.extreme.indiana.edu/xgws/papers/sc00_paper/index.html"> |
| 271 |
Requirements for and Evaluation of RMI Protocols for Scientific Computing |
| 272 |
</a> |
| 273 |
</li> |
| 274 |
<li> |
| 275 |
<a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm"> |
| 276 |
Architectural Styles and the Design of Network-based Software Architectures |
| 277 |
</a><br> |
| 278 |
The theoretical basis of the REST architecture |
| 279 |
</li> |
| 280 |
<li> |
| 281 |
<a href="http://www.extreme.indiana.edu/xgws/papers/soap-hpdc2002/soap-hpdc2002.pdf"> |
| 282 |
Investigating the Limits of SOAP Performance for Scientific Computing |
| 283 |
</a> |
| 284 |
</li> |
| 285 |
<li> |
| 286 |
<a href="http://www.w3.org/TR/webarch/"> |
| 287 |
Architectural Principles of the World Wide Web |
| 288 |
</a><br> |
| 289 |
The W3C architects say how things should be done. |
| 290 |
</li> |
| 291 |
</ol> |
| 292 |
|
| 293 |
<a name="books"> |
| 294 |
<h2>Books</h2> |
| 295 |
</a> |
| 296 |
|
| 297 |
<ol> |
| 298 |
<li><i><a href="http://www.wrox.com/books/1861007531.htm"> |
| 299 |
Beginning Java Web Services</a></i><br> |
| 300 |
Meeraj Kunnumpurath et al, Wrox Press, September 2002.<br> |
| 301 |
An introductory book, with the early chapters focusing on Axis. <br> |
| 302 |
The <a href="http://www.wrox.com/books/sample-chapters/SampleChapter_1861007531.pdf"> |
| 303 |
sample chapter</a> shows how to install Axis with Tomcat 4.0: we do not believe |
| 304 |
that their approach is the best. It is easier to drop jaxrpc.jar and |
| 305 |
saaj.jar into the CATALINA_HOME/common/lib dir than it is to add all |
| 306 |
axis jars to the classpath by hand. The book is based on Axis Beta-3. |
| 307 |
|
| 308 |
<li> |
| 309 |
<a href="http://manning.com/antbook"> |
| 310 |
<i>Java development with Ant</i> |
| 311 |
</a><br> |
| 312 |
by Erik Hatcher and Steve Loughran, Manning Press, July 2002. <br> |
| 313 |
A book on Ant development which covers Web Service development with Axis, |
| 314 |
along with other topics relevant to Java developers using Ant. The Web Service |
| 315 |
chapter, <A href="http://www.manning.com/hatcher/chap15.pdf"> |
| 316 |
chapter 15</A>, is free to download, and was the birthplace of |
| 317 |
happyaxis.jar. <br> |
| 318 |
The book is based on Axis Beta-2; the web site contains updated |
| 319 |
documentation where appropriate. |
| 320 |
|
| 321 |
</li> |
| 322 |
|
| 323 |
<li> |
| 324 |
<A href="http://www.wrox.com/books/toc/1861007159_toc.htm"> |
| 325 |
<i>AXIS: Next Generation Java SOAP</i><br> |
| 326 |
</A> |
| 327 |
by Romin Irani and S Jeelani Bashna, Wrox Press, May 2002.<br> |
| 328 |
The first nothing-but-Axis book.<br> |
| 329 |
It is based on Beta-1. This is a reasonable book, despite is apparent thinness and |
| 330 |
relative age. If it has a major weakness it believes everything works as intended, |
| 331 |
which regular Axis users will know is not quite true yet. Maybe they didn't want |
| 332 |
to fault missing features and other gotchas, assuming they would be fixed by the time |
| 333 |
the product shipped, but the effective result is that you can get into minor trouble working |
| 334 |
from this book, trying to use bits that aren't there, or just don't work (yet). |
| 335 |
|
| 336 |
<li> |
| 337 |
<A |
| 338 |
href="http://sams.com/catalog/product.asp?product_id={ABC81EE6-0D9F-4BD7-99DB-84F9C983ACF7}"> |
| 339 |
<i> |
| 340 |
Building Web Services with Java: Making Sense of XML, SOAP, WSDL and UDDI</i> |
| 341 |
</A><br> |
| 342 |
Steve Graham et al, December 2001. <br> |
| 343 |
Covering very early versions of Axis |
| 344 |
along with other aspects of Web Service technologies. One of the |
| 345 |
authors, Glen Daniels, is an Axis committer and active contributor, so |
| 346 |
the quality of the Axis coverage is high. Good explanations of SOAP, UDDI, and the like. |
| 347 |
|
| 348 |
|
| 349 |
<li> |
| 350 |
<a href="http://www.j2ee-security.net"> |
| 351 |
<i>J2EE Security for Servlets, EJBs and Web Services</i></a><br> |
| 352 |
Pankaj Kumar, Prentice Hall, September 2003.<br/> |
| 353 |
A book on using Java security APIs, tools and mechanisms for building secure |
| 354 |
enterprise applications. The chapter on <a href="#ws-sec">Web Services Security</a> |
| 355 |
uses Axis-1.1RC1 |
| 356 |
for illustrations. Besides Web Services, it covers security aspects of Java RMI, |
| 357 |
Servlet and JSP based Web Applications and EJBs. |
| 358 |
</li> |
| 359 |
|
| 360 |
<!-- insert new books here --> |
| 361 |
|
| 362 |
</ol> |
| 363 |
|
| 364 |
|
| 365 |
Authors, publishers: we welcome additions to this section of any books which |
| 366 |
have some explicit coverage of Axis. Free paper/pdf copies and other forms of bribery accepted. |
| 367 |
|
| 368 |
<a name="external"> |
| 369 |
<h2>External Sites covering Web Services</h2> |
| 370 |
<ol> |
| 371 |
<li> |
| 372 |
<a href="http://www-106.ibm.com/developerworks/webservices/"> |
| 373 |
|
| 374 |
IBM developerWorks Web Services corner</a><br> |
| 375 |
There are lots of interesting articles on Web Services here, many of which are |
| 376 |
Axis related. There is also a |
| 377 |
<a href="http://www-106.ibm.com/developerworks/webservices/library/ws-spec.html"> |
| 378 |
listing of</a> |
| 379 |
"all current open standards and specifications that define the Web services family of protocols", |
| 380 |
though Soap with Attachments is mysteriously absent. |
| 381 |
|
| 382 |
</li> |
| 383 |
|
| 384 |
<li> |
| 385 |
<a href="http://msdn.microsoft.com/webservices/">MSDN Web |
| 386 |
Services</a><br> |
| 387 |
These are the microsoft pages; little Axis coverage but plenty on |
| 388 |
Web Service specifications. |
| 389 |
</li> |
| 390 |
|
| 391 |
<li><a href="http://webservices.xml.com/">WebServices.xml.com</a> |
| 392 |
|
| 393 |
The O'Reilly site is always up to date, interesting and useful. It |
| 394 |
doesn't advocate a single technology (REST, SOAP, RDF...), or a single |
| 395 |
product. As such, it retains its independence and value. |
| 396 |
|
| 397 |
</ol> |