I need to write a Web Service as quickly as possible. Just getting into the various Sun XML API's. I take it there is no way to write a Web Service (server) using SAAJ? Would you write the server using JAX-RPC, and, if so, would this permit SAAJ clients to connect?
SAAJ is a low-level API for constructing SOAP messages. JAX-RPC is a high-level API, which hides the actual SOAP stuff. Based on this, I'd say you'll be better off using JAX-RPC when you need to build something quickly.
Agree with Lasse. But if you are specifically need SAAJ and not SOAP-RPC I recommend the Sun toolkit, not axis, though I am still quite confused about all that different flavours of webservices. We are using the sun webservices dev Toolkit1.2 for SAAJ. Don't know how is support in axis for SAAJ. I've told my colleagues that axis does not support newest version of SAAJ, but I am not sure, if this was the truth, because it was 50% guessing based on incomplete information and 50% politics to acelerate decission-making process. With sun toolkit its easy too build an SAAJ-server component. There are specific Servlets for that called SAAJServlet. You have to extend those. There are sample apps in the sun Toolkit. regards Axel