You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
741 B
C++

#ifndef WEBCC_SOAP_GLOBALS_H_
#define WEBCC_SOAP_GLOBALS_H_
#include <string>
namespace webcc {
// -----------------------------------------------------------------------------
// Constants
extern const std::string kSoapAction;
extern const std::string kTextXmlUtf8;
// -----------------------------------------------------------------------------
// XML namespace name/url pair.
// E.g., { "soap", "http://schemas.xmlsoap.org/soap/envelope/" }
struct SoapNamespace {
std::string name;
std::string url;
bool IsValid() const {
return !name.empty() && !url.empty();
}
};
// CSoap's default namespace for SOAP Envelope.
extern const SoapNamespace kSoapEnvNamespace;
} // namespace webcc
#endif // WEBCC_SOAP_GLOBALS_H_