# 22. Virtuoso Functions Guide - wst_cli

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Virtuoso Functions Guide
Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
http_body_read
soap_box_structure
soap_box_xml_entity
soap_call
soap_client
soap_current_url
soap_dt_define
soap_make_error
soap_print_box
soap_sdl
soap_server
soap_wsdl
soap_wsdl_import
wst_cli
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY
Functions Index

## wst_cli

Request a security token from WST endpoint
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.

See Also

WS Reliable Messaging