Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL 2.0 fault question

 
Hany Shafik
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a question related to faults in wsdl 2.0. As I understand now that any operation could have infault and outfault, I need to know the reason for this as there is an attribute named messagelabel that can specify whether it is an in or out. Also I don't understand the reason for the different fault propagation ruleset as my limited mind can't see any practical uses.
 
Dan Drillich
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All these multiple hops for the SOAP based web service are not clear to me for a while. So I'm with you. Way too complex.
A good read at 2.2 Fault Propagation Rules.

Regards,
Dan
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Practical use of fault propagation may be as follows:
System A sends request to system B which pass through a mediating system of some kind.
When system B generates a fault as the result of a request, it may be of interest to the client from which the request originated to receive the fault.
Thus the mediating system may be configured to propagate any faults from system B to system A, from which the request originated.
Hope this at least shows an example of when fault propagation can be useful.
Best wishes!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic