This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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:
    Consider Paul's rocket mass heater.
    subject: SOAP question
    Similar Threads
    SOAP vs. RPC
    WA #1.....word association
    Web services and Components?
    soap, https
    C++ to Java communication for Game Server