Foxit PDF SDK
FSSOAPRequestProperties类 参考

继承自 NSObject .

构造函数

(id) - init
 构造函数。

 
(id) - initWithRequest_properties:
 拷贝构造函数,使用另一个SOAP请求属性对象。
更多...
 
(void) - set:request_content:soap_action:soap_namespace:soap_version:content_type:is_encode:is_wiredump:request_header:authenticate:
 设置值。
更多...
 

属性

FSSOAPAuthenticateInfoauthenticate
 指定如何处理HTTP身份验证或用于Web服务安全的凭据的对象。

 
NSString * content_type
 允许指定HTTP content-type头。默认使用SOAP消息传递HTTP content-type。

 
BOOL is_encode
 使用SOAP规范中描述的SOAP编码对请求进行编码。 否则,使用字面编码。

 
BOOL is_wiredump
 是否输出SOAP请求和响应的调试信息,默认为true。

 
NSString * request_content
 指定远程过程名称和参数或要发送的XML消息的对象。

 
NSString * request_header
 指定要包含在请求中的SOAP头的对象。默认是 发送仅包含SOAP Body的请求。

 
NSString * request_url
 SOAP HTTP端点的URL。

 
NSString * soap_action
 SOAP动作是写入HTTP头的URN,供防火墙和服务器用于过滤SOAP请求。

 
NSString * soap_namespace
 当请求不使用SOAP编码时消息架构的命名空间。
更多...
 
NSString * soap_version
 生成XML消息时要使用的SOAP协议版本。

 

详细描述

此类表示SOAP request properties。

函数文档

◆ initWithRequest_properties:()

- (id) initWithRequest_properties: (FSSOAPRequestProperties*)  request_properties

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

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

◆ set:request_content:soap_action:soap_namespace:soap_version:content_type:is_encode:is_wiredump:request_header:authenticate:()

- (void) set: (NSString *)  request_url
request_content: (NSString *)  request_content
soap_action: (NSString *)  soap_action
soap_namespace: (NSString *)  soap_namespace
soap_version: (NSString *)  soap_version
content_type: (NSString *)  content_type
is_encode: (BOOL)  is_encode
is_wiredump: (BOOL)  is_wiredump
request_header: (NSString *)  request_header
authenticate: (FSSOAPAuthenticateInfo*)  authenticate 

设置值。

参数
[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

- (NSString *) soap_namespace
readwritenonatomicweak

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

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