Foxit PDF SDK
foxit::SOAPRequestProperties类 参考

继承自 Object .

Public 成员函数

 SOAPRequestProperties ()
 构造函数。
 
 SOAPRequestProperties (const wchar_t *request_url, const char *request_content, const wchar_t *soap_action, const wchar_t *soap_namespace, const wchar_t *soap_version, const wchar_t *content_type, bool is_encode, bool is_wiredump, const char *request_header, const SOAPAuthenticateInfo &authenticate)
 构造函数,带参数。 更多...
 
 SOAPRequestProperties (const SOAPRequestProperties &request_properties)
 拷贝构造函数,使用另一个SOAP请求属性对象。 更多...
 
void Set (const wchar_t *request_url, const char *request_content, const wchar_t *soap_action, const wchar_t *soap_namespace, const wchar_t *soap_version, const wchar_t *content_type, bool is_encode, bool is_wiredump, const char *request_header, const SOAPAuthenticateInfo &authenticate)
 设置值。 更多...
 

Public 属性

SOAPAuthenticateInfo authenticate
 指定如何处理HTTP身份验证或用于Web服务安全的凭据的对象。
 
WString content_type
 允许指定HTTP content-type头。默认使用SOAP消息传递HTTP content-type。
 
bool is_encode
 使用SOAP规范中描述的SOAP编码对请求进行编码。 否则,使用字面编码。
 
bool is_wiredump
 是否输出SOAP请求和响应的调试信息,默认为true。
 
String request_content
 指定远程过程名称和参数或要发送的XML消息的对象。
 
String request_header
 指定要包含在请求中的SOAP头的对象。默认是 发送仅包含SOAP Body的请求。
 
WString request_url
 SOAP HTTP端点的URL。
 
WString soap_action
 SOAP动作是写入HTTP头的URN,供防火墙和服务器用于过滤SOAP请求。
 
WString soap_namespace
 当请求不使用SOAP编码时消息架构的命名空间。 更多...
 
WString soap_version
 生成XML消息时要使用的SOAP协议版本。
 

详细描述

此类表示SOAP request properties。

构造及析构函数说明

◆ SOAPRequestProperties() [1/2]

foxit::SOAPRequestProperties::SOAPRequestProperties ( const wchar_t *  request_url,
const char *  request_content,
const wchar_t *  soap_action,
const wchar_t *  soap_namespace,
const wchar_t *  soap_version,
const wchar_t *  content_type,
bool  is_encode,
bool  is_wiredump,
const char *  request_header,
const SOAPAuthenticateInfo authenticate 
)
inline

构造函数,带参数。

参数
[in]request_urlSOAP HTTP端点的URL。
[in]request_content指定远程过程名称和参数或要发送的XML消息的对象。
[in]soap_actionSOAP动作是写入HTTP头的URN,供防火墙和服务器用于过滤SOAP请求。
[in]soap_namespace当请求不使用SOAP编码时消息架构的命名空间。
[in]soap_version生成XML消息时要使用的SOAP协议版本。
[in]content_type允许指定HTTP content-type头。默认使用SOAP 消息传递HTTP content-type。
[in]is_encode使用SOAP规范中描述的SOAP编码对请求进行编码。 否则,使用字面编码。
[in]is_wiredump是否输出SOAP请求和响应的调试信息,默认为true。
[in]request_header指定要包含在请求中的SOAP头的对象。默认是 发送仅包含SOAP Body的请求
[in]authenticate指定如何处理HTTP身份验证或用于Web服务安全的凭据的对象。

◆ SOAPRequestProperties() [2/2]

foxit::SOAPRequestProperties::SOAPRequestProperties ( const SOAPRequestProperties request_properties)
inline

拷贝构造函数,使用另一个SOAP请求属性对象。

参数
[in]request_properties另一个SOAP请求属性对象。

成员函数说明

◆ Set()

void foxit::SOAPRequestProperties::Set ( const wchar_t *  request_url,
const char *  request_content,
const wchar_t *  soap_action,
const wchar_t *  soap_namespace,
const wchar_t *  soap_version,
const wchar_t *  content_type,
bool  is_encode,
bool  is_wiredump,
const char *  request_header,
const SOAPAuthenticateInfo authenticate 
)
inline

设置值。

参数
[in]request_urlSOAP HTTP端点的URL。
[in]request_content指定远程过程名称和参数或要发送的XML消息的对象。
[in]soap_actionSOAP动作是写入HTTP头的URN,供防火墙和服务器用于过滤SOAP请求。
[in]soap_namespace当请求不使用SOAP编码时消息架构的命名空间。
[in]soap_version生成XML消息时要使用的SOAP协议版本。
[in]content_type允许指定HTTP content-type头。默认使用SOAP消息传递HTTP content-type。
[in]is_encode使用SOAP规范中描述的SOAP编码对请求进行编码。否则,使用字面编码。
[in]is_wiredump是否输出SOAP请求和响应的调试信息,默认为true。
[in]request_header指定要包含在请求中的SOAP头的对象。默认是发送仅包含SOAP Body的请求。
[in]authenticate指定如何处理HTTP身份验证或用于Web服务安全的凭据的对象。
返回
无返回值。

类成员变量说明

◆ soap_namespace

WString foxit::SOAPRequestProperties::soap_namespace

当请求不使用SOAP编码时消息架构的命名空间。

默认情况下省略架构声明。