• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

SOAP and Transactions

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bill,
I am new to SOAP and was just wondering how does
SOAP handle transactions. For instance if had a SOAP service which relied on another service that failed what would happen to the original request. Do I need to handle the failure explicitly or is there some sort of atomic operation whereas if one dependent service fails, the entire operation fails.
Thanks for any information.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Chris,
You may want to look into WSFL (Web Services Flow) for some of this. Right now, IBM is running the push for it, but it does look promising. I am running into similar issues right now. Here are the links...
<a href="http://www-4.ibm.com/software/solutions/webservices/pdf/WSFL.pdf">The WSFL proposal</a>
<a href="http://xml.coverpages.org/wsfl.html">Some more info here...</a>
Thanks to Kyle for the original URLs.
Cheers,
Andrew
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a formal fault reporting mechanism laid out in the specifications and supported by Apache SOAP. As programmer of a SOAP RPC service, it is your responsibility to turn exceptions, etc. into an informative fault message that goes back to a client. Considering all of the things that go can wrong, fault reporting and interpretation on the client end is very important.

Bill
 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
More here : http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=51&t=000074
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic