are they needed for me to be able to access web services? because my seatmate said they aren't
Bernard Sigmund Gustav
Joined: Dec 20, 2005
i already have the jar files for saaj and jaxrpc in C:\Apache Group\Tomcat 4.1\webapps\axis\WEB-INF\lib
do you have any sample code that connects to a web service? i have all these sample codes in axis and they compile and run but i don't know if they're running correctly. i mean, i don't understand the code...
Joined: Mar 22, 2005
You don't have to use SAAJ or JAX-RPC to connect to a WS. You can create the SOAP yourself, or use any other client library that does it for you. Given that those two are the standard Java APIs, and that a number of tools generate code based on them, using them seems like an easy choice, though. But it depends on your circumstances, of course.
A number of articles of how to access WS in Java are linked in the FAQ. The one titled "Article on OnJava" in particular has some examples; just ignore the parts about creating the service itself, since you already have that.