Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP question

 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What features of SOAP recommend it in certain circumstances over using XML
over HTTP.
 
Rahul Mishra
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 (http://www.coderanch.com/t/466101/Architect-Certification-SCEA/certification/XoH-vs-Soap-Web-Services)..sometime back...with some initial comparisons..
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic