This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WSDL 2.0 fault question  RSS feed

 
Hany Shafik
Ranch Hand
Posts: 80
  • 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
  • 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
  • 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!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!