01: /*
02: * BEGIN_HEADER - DO NOT EDIT
03: *
04: * The contents of this file are subject to the terms
05: * of the Common Development and Distribution License
06: * (the "License"). You may not use this file except
07: * in compliance with the License.
08: *
09: * You can obtain a copy of the license at
10: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
11: * See the License for the specific language governing
12: * permissions and limitations under the License.
13: *
14: * When distributing Covered Code, include this CDDL
15: * HEADER in each file and include the License file at
16: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
17: * If applicable add the following below this CDDL HEADER,
18: * with the fields enclosed by brackets "[]" replaced with
19: * your own identifying information: Portions Copyright
20: * [year] [name of copyright owner]
21: */
22:
23: /*
24: * @(#)SoapFaultError.java
25: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
26: *
27: * END_HEADER - DO NOT EDIT
28: */
29: /**
30: * SoapFaultError.java
31: *
32: * SUN PROPRIETARY/CONFIDENTIAL.
33: * This software is the proprietary information of Sun Microsystems, Inc.
34: * Use is subject to license terms.
35: *
36: * Created on August 26, 2004, 6:12 PM
37: */package com.sun.jbi.binding.security;
38:
39: import javax.xml.namespace.QName;
40: import javax.xml.soap.Detail;
41:
42: /**
43: *
44: * @author Sun Microsystems, Inc.
45: */
46: public interface SoapFaultError extends Error {
47:
48: /** Gets the <code>faultcode</code> element. The <code>faultcode</code>
49: * element provides an algorithmic mechanism for identifying the
50: * fault. The fault codes for WS-Security are defined in Section 12 of
51: * the WS-Security Specification.
52: *
53: * @return QName of the faultcode element
54: */
55: QName getFaultCode();
56:
57: /**
58: * Gets the <code>faultstring</code> element. The <code>faultstring</code>
59: * provides a human-readable description of the SOAP fault and
60: * is not intended for algorithmic processing.
61: *
62: * @return faultstring element of the SOAP fault
63: */
64: String getFaultString();
65:
66: /**
67: * Gets the <code>faultactor</code> element. The <code>faultactor</code>
68: * element provides information about which SOAP node on the
69: * SOAP message path caused the fault to happen. It indicates
70: * the source of the fault.
71: *
72: * @return <code>faultactor</code> element of the SOAP fault
73: */
74: String getFaultActor();
75:
76: /**
77: * Gets the detail element. The detail element is intended for
78: * carrying application specific error information related to
79: * the SOAP Body.
80: *
81: * @return <code>detail</code> element of the SOAP fault
82: * @see javax.xml.soap.Detail
83: */
84: Detail getFaultDetail();
85:
86: }
|