org.fcrepo.server.utilities
Class CXFUtility
java.lang.Object
org.fcrepo.server.utilities.CXFUtility
public abstract class CXFUtility
- extends Object
Utility methods for working with CXF.
- Author:
- Chris Wilper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAP_FAULT_CODE_NAMESPACE
public static String SOAP_FAULT_CODE_NAMESPACE
- The (SOAP[version-specific] spec-dictated) namespace for fault codes. See
http://www.w3.org/TR/SOAP/#_Toc478383510 for SOAPv1.1 and
http://www.w3.org/TR/soap12-part1/#faultcodeelement for SOAPv1.2 SOAP
v1.2 here.
SOAP_ULTIMATE_RECEIVER
public static String SOAP_ULTIMATE_RECEIVER
- Similar to above, this is "actor" in soap1_1 and "role" in 1_2. Soap 1.1
provides (see http://www.w3.org/TR/SOAP/#_Toc478383499) a special URI for
intermediaries, http://schemas.xmlsoap.org/soap/actor/next, and leaves
other URIs up to the application. Soap 1.2 provides (see
http://www.w3.org/TR/soap12-part1/#soaproles) three special URIs -- one
of which is for ultimate receivers, which is the category Fedora falls
into. http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver is
the URI v1.2 provides.
CXFUtility
public CXFUtility()
throwFault
public static void throwFault(ServerException se)
throws org.apache.cxf.binding.soap.SoapFault
- Throws:
org.apache.cxf.binding.soap.SoapFault
getFault
public static org.apache.cxf.binding.soap.SoapFault getFault(ServerException se)
getFault
public static org.apache.cxf.binding.soap.SoapFault getFault(AuthzException e)
getFault
public static org.apache.cxf.binding.soap.SoapFault getFault(Throwable th)
Copyright © 2012 DuraSpace. All Rights Reserved.