Top

Name

wst_cli — Request a security token from WST endpoint

Synopsis

token wst_cli ( in req soap_client_req ,
  in policy any );
 

Description

This function is for use with a SOAP client contacting a WS-Trust endpoint for a security token.

Parameters

req

A UDT containing soap_client parameters as described in WS-RM.

policy

contains policy to be applied, an example:

create type policy_struct as 
(
  usage - integrity/confidentiality
  token_type - wsse token type: x509; context token etc.
  token_issuer - URL of the issuer
  user_name - represent to issuer,
  user_pass,
  debug - dump req/res. 1 - for RequestSecurityToken, 2 - end point
  token - base64 encoded Binary Security Token 
)

Return Types

A security token.