PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode of the first syntax
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SOAPAddSAMLAssertion (Function)
In French: SOAPAjouteAssertionSAML
Adds a SAML assertion to a Webservice request.
Note: This function is an advanced function. It is mainly used when managing the Sesam Vitale Webservice.
MySecurity is Security
MyRequestProc is wsRequest
SOAPAddSAMLAssertion(MyRequestProc, MySecurity.Assertion, MySignature)
MyProc(MyRequestProc, MySecurity, "Hello ")
Syntax

Automatically adding a SAML assertion from a signature Hide the details

<Result> = SOAPAddSAMLAssertion(<Request to Use> , <Assertion Location> , <Signature to Add>)
<Result>: Integer
Subscript of the added SAML assertion.
<Request to Use>: wsRequest variable
Name of wsRequest variable corresponding to the request into which a SAML assertion must be added.
<Assertion Location>: Variable generated by the import of a Webservice
XSD entity into which the SAML assertion must be added: the addition is performed in child element of the specified XSD entity.
<Signature to Add>: xmlSignature variable
Name of the xmlSignature variable corresponding to the signature that must be added to the assertion.

Adding a SAML assertion with the specified XML code Hide the details

<Result> = SOAPAddSAMLAssertion(<Request to Use> , <Assertion Location> , <Assertion to Add>)
<Result>: Boolean
  • True if the assertion was added,
  • False otherwise.
<Request to Use>: wsRequest variable
Name of the wsRequest variable into which a signature must be added.
<Assertion Location>: Variable generated by the import of a Webservice
XSD entity into which the SAML assertion must be added: the addition is performed in child element of the specified XSD entity.
<Assertion to Add>: Buffer variable
Buffer containing the XML code of the assertion to add.
Remarks

Operating mode of the first syntax

A SAML assertion is added to the XSD entity passed in parameter. The child element is added in the following format:
<wsa:Assertion xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion" ID="ReferenceID" Version="2.0">
<wsa:Issuer></wsa:Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
</ns2:Assertion>
</wsa:Assertion>
Components
WINDEVWEBDEV - Server codeReports and Queries wd230xml.dll
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment