File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes SOAP question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "SOAP question" Watch "SOAP question" New topic

SOAP question

jim li
Ranch Hand

Joined: May 20, 2008
Posts: 180
What features of SOAP recommend it in certain circumstances over using XML
over HTTP.
Rahul Mishra
Ranch Hand

Joined: Jan 22, 2006
Posts: 211
XoH as it is more popularly known, is semantically meant to achieve the same objectives as SOAP. So, wherever you intend to use XoH, you can potentially used SOAP.However, the reverse might not necessarily be true.

The choice of XoH over Soap primarily grinds down to a few basic thumb rules(in my opinion)

  • Will you ever have the need to define the data/service contract more formally defined ? - If you need a more formal definition, Soap is your answer.
  • Do you want the service to be used inside your organization or across organizations ? - This closely relates to the previous one, a service used across organizations must have a more formal way of describing it
  • Do you want tooling to generate client stubs - If yes, XoH might restrict you here.
  • Do you want the vertical and horizontal flexibility offered by SOAP

  • I am sure there will be more..but these are the only ones which come to my mind immiediately.

    On the same note, i started this thread ( back...with some initial comparisons..

    My SCEA experience:
    I agree. Here's the link:
    subject: SOAP question
    It's not a secret anymore!