File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes WSDL 2.0 fault question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "WSDL 2.0 fault question" Watch "WSDL 2.0 fault question" New topic

WSDL 2.0 fault question

Hany Shafik
Ranch Hand

Joined: Jun 21, 2008
Posts: 80
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

Joined: Jul 09, 2001
Posts: 1183
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.


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
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!

My free books and tutorials:
I agree. Here's the link:
subject: WSDL 2.0 fault question
It's not a secret anymore!