/usr/include/arc/wsrf/WSRFBaseFault.h is in nordugrid-arc-dev 4.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | #include "WSRF.h"
#include <arc/ws-addressing/WSA.h>
#include <arc/DateTime.h>
namespace Arc {
extern const char* WSRFBaseFaultAction;
/// Base class for WSRF fault messages
/** Use classes inherited from it for specific faults. */
class WSRFBaseFault: public WSRF {
protected:
/** set WS-ResourceProperties namespaces and default prefixes in SOAP message */
void set_namespaces(void);
public:
/** Constructor - creates object out of supplied SOAP tree. */
WSRFBaseFault(SOAPEnvelope& soap);
/** Constructor - creates new WSRF fault */
WSRFBaseFault(const std::string& type);
virtual ~WSRFBaseFault(void);
std::string Type(void);
Time Timestamp(void);
void Timestamp(Time);
WSAEndpointReference Originator(void);
//void Originator(const WSAEndpointReference&);
void ErrorCode(const std::string& dialect,const XMLNode& error);
XMLNode ErrorCode(void);
std::string ErrorCodeDialect(void);
void Description(int pos,const std::string& desc,const std::string& lang);
std::string Description(int pos);
std::string DescriptionLang(int pos);
void FaultCause(int pos,const XMLNode& cause);
XMLNode FaultCause(int pos);
};
class WSRFResourceUnknownFault: public WSRFBaseFault {
public:
WSRFResourceUnknownFault(SOAPEnvelope& soap):WSRFBaseFault(soap) { };
WSRFResourceUnknownFault(void):WSRFBaseFault("wsrf-r:ResourceUnknownFault") { }
virtual ~WSRFResourceUnknownFault(void) { };
};
class WSRFResourceUnavailableFault: public WSRFBaseFault {
public:
WSRFResourceUnavailableFault(SOAPEnvelope& soap):WSRFBaseFault(soap) { };
WSRFResourceUnavailableFault(void):WSRFBaseFault("wsrf-r:ResourceUnavailableFault") { }
virtual ~WSRFResourceUnavailableFault(void) { };
};
WSRF& CreateWSRFBaseFault(SOAPEnvelope& soap);
} // namespace Arc
|