File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes sun's coffee break  & saaj Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "sun Watch "sun New topic

sun's coffee break & saaj

nobu taku

Joined: Aug 06, 2003
Posts: 17
in the saaj portion of the coffee break application, why do they use saaj/soap instead of xml over http without the structure of soap? for example, using jdom and an httpurlconnection to send over the xml documents?
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Probably to show us how to use the SAAJ API...

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
nobu taku

Joined: Aug 06, 2003
Posts: 17
beyond being a tutorial on saaj, is there a good reason to use soap in that example?
I agree. Here's the link:
subject: sun's coffee break & saaj
It's not a secret anymore!