4.1.2 Obtaining the WS-AtomicTransaction Activation Service Endpoints of the Transaction Coordinator
After obtaining an array of SExtendedEndpointInfo structures, the application then iterates through the array of structures. If the guidProtocolExtension is equal to the WSAT_ProtocolGuid (cc228cf4-a9c8-43fc-8281-8565eb5889f2), then the associated rgbProtocolExtensionData is an ExtendedWhereabouts structure. The application decodes the ExtendedWhereabouts structure as follows.
|
Field |
Value |
Value description |
|---|---|---|
|
MajorVersion |
0x01 |
1 |
|
MinorVersion |
0x02 |
Minor Version 2 |
|
ProtocolFlags |
0x0E |
14 |
|
HttpsPort |
0x00000FA0 |
4000 |
|
MaxTimeout |
0x00000E10 |
3600 |
|
HostName.cbCharArray |
0x0015 |
21 |
|
HostName.szCharArray |
0x6863616D 0x5F656E69 0x65742E31 0x7275706D 0x726F2E69 0x67 |
machine_1.tempuri.org |
|
BasePath.cbCharArray |
0x000B |
11 |
|
BasePath.szCharArray |
0x74617357 0x76726553 0x656369 |
WsatService |
|
NodeName.cbCharArray |
0x0009 |
9 |
|
NodeName.szCharArray |
0x4843414D 0x5F454E49 0x31 |
MACHINE_1 |
|
SupportedProtocols |
0x0003 |
V1.0 | V1.1 |
The application then translates the ExtendedWhereabouts structure into a list of Activation Service Endpoints, as specified in section 2.2.2.3:
HTTPS Activation Service Version 1.0 X.509 URI: https://machine_1.tempuri.org:4000/WsatService/Activation/Coordinator/
HTTPS Activation Service Version 1.1 X.509 URI: https://machine_1.tempuri.org:4000/WsatService/Activation/Coordinator11/
HTTPS Activation Service Version 1.0 SPNEGO URI: https://machine_1.tempuri.org:4000/WsatService/Activation/Coordinator/Remote/
HTTPS Activation Service Version 1.1 SPNEGO URI: https://machine_1.tempuri.org:4000/WsatService/Activation/Coordinator11/Remote/