Why should you use servlets when you can write directly to a socket?
Why use XML when you can write a binary file?

It's a higher level abstraction.  What you are doing is ok for simple
stuff but try processing SOAP headers.  Try exposing a standard java
object as a web service.  You can't do it without a lot of effort but
Axis can.

-----Original Message-----
From: Jinghua Gu [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2003 3:44 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: what is advantage of document based APIs over HTTP post method?


Hi All,

   For document based Soap APIs, we use Soap engine to pass XML document
   over wire then get response back to the client, which can be achieved
by 
HTTP
   POST method as well. The difference is the latter doesn't use AXIS 
engine. If we
   are only interested HTTP protocol, AXIS engine is extra layer to the 
applications.
   Can you enlighten me what advantage the document based APIs have over

HTTP POST
   method?

Thanks,
Emily


Reply via email to