• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

SAAJ vs JAX-RPC

 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SAAJ is actually a part of JAX-RPC, and so any server (such as Axis) that supports JAX-RPC must implicitly support SAAJ. However, I'm with Lasse and Axel -- why do that?
Kyle
 
Goodbye moon men. Hello tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic