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.
32 lines
634 B
C
32 lines
634 B
C
![]()
8 years ago
|
#ifndef CSOAP_RESPONSE_H_
|
||
|
#define CSOAP_RESPONSE_H_
|
||
![]()
8 years ago
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace csoap {
|
||
|
|
||
![]()
8 years ago
|
// SOAP response.
|
||
|
// Used to parse the SOAP response XML which is returned as the HTTP response
|
||
|
// body.
|
||
|
class SoapResponse {
|
||
![]()
8 years ago
|
public:
|
||
![]()
8 years ago
|
SoapResponse();
|
||
|
|
||
![]()
8 years ago
|
bool Parse(const std::string& content,
|
||
|
const std::string& message_name,
|
||
|
const std::string& element_name,
|
||
|
std::string* element_value);
|
||
|
|
||
|
const std::string& soapenv_ns() const {
|
||
|
return soapenv_ns_;
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
// Soap envelope namespace in the response XML.
|
||
|
std::string soapenv_ns_;
|
||
|
};
|
||
|
|
||
|
} // namespace csoap
|
||
|
|
||
![]()
8 years ago
|
#endif // CSOAP_RESPONSE_H_
|