fedora.server.utilities
Class AxisUtility
java.lang.Object
fedora.server.utilities.AxisUtility
- public abstract class AxisUtility
- extends java.lang.Object
Title: AxisUtility.java
Description:
- Version:
- $Id: AxisUtility.java,v 1.25 2005/05/02 18:23:25 wdn5e Exp $
- Author:
- cwilper@cs.cornell.edu
|
Field Summary |
static java.lang.String |
SOAP_FAULT_CODE_NAMESPACE
The (SOAP[version-specific] spec-dictated) namespace for fault codes.
|
static java.lang.String |
SOAP_ULTIMATE_RECEIVER
Similar to above, this is "actor" in soap1_1 and "role" in 1_2.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAP_FAULT_CODE_NAMESPACE
public static java.lang.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
(what Axis currently conforms to) and
http://www.w3.org/TR/soap12-part1/#faultcodeelement for SOAPv1.2
SOAP v1.1 here.
SOAP_ULTIMATE_RECEIVER
public static java.lang.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 recievers, which is the category Fedora
falls into. http://www.w3.org/2002/06/soap-envelope/role/ultimateReceiver
is the URI v1.2 provides. Since we're doing soap1.1 with axis, we
interpolate and use http://schemas.xmlsoap.org/soap/actor/ultimateReceiver.
AxisUtility
public AxisUtility()
throwFault
public static void throwFault(ServerException se)
throws org.apache.axis.AxisFault
- Throws:
org.apache.axis.AxisFault
getFault
public static org.apache.axis.AxisFault getFault(ServerException se)
getFault
public static org.apache.axis.AxisFault getFault(fedora.server.errors.authorization.AuthzException e)
getFault
public static org.apache.axis.AxisFault getFault(java.lang.Exception e)
showDeployUsage
public static void showDeployUsage()
main
public static void main(java.lang.String[] args)