套件 | mx.rpc.soap |
類別 | public class SOAPHeader |
繼承 | SOAPHeader Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
content : Object
The content to send for the header value. | SOAPHeader | ||
mustUnderstand : Boolean
Specifies whether the header must be understood by the endpoint. | SOAPHeader | ||
qname : QName
The qualified name of the SOAP header. | SOAPHeader | ||
role : String
Specifies the URI for the role that this header is intended in a
potential chain of endpoints processing a SOAP request. | SOAPHeader |
方法 | 定義自 | ||
---|---|---|---|
Constructs a new SOAPHeader. | SOAPHeader | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
content | 屬性 |
public var content:Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The content to send for the header value. If you provide an XML or flash.xml.XMLNode instance for the header, it is used directly as pre-encoded content and appended as a child to the soap:header element. Otherwise, you can provide the value as a String or Number, etc. and the underlying SOAP encoder attempts to encode the value correctly based on the QName provided in the SOAPHeader (with the last resort being xsd:anyType if a type definition is not present).
mustUnderstand | 屬性 |
public var mustUnderstand:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Specifies whether the header must be understood by the endpoint. If the header is handled but must be understood the endpoint should return a SOAP fault.
qname | 屬性 |
public var qname:QName
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The qualified name of the SOAP header.
role | 屬性 |
public var role:String
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Specifies the URI for the role that this header is intended in a
potential chain of endpoints processing a SOAP request. If defined,
this value is used to specify the actor
for the SOAP
header.
SOAPHeader | () | 建構函式 |
public function SOAPHeader(qname:QName, content:Object)
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructs a new SOAPHeader. The qualified name and content for the SOAP header are required.
參數qname:QName — The qualified name of the SOAP header.
| |
content:Object — The content to send for the header value.
|
Tue Jun 12 2018, 03:47 PM Z