Example: web_service_set_security_saml and web_service_cancel_security_saml
This example shows getting a SAML token, using it in a service request, and then canceling it.
web_service_set_security_saml(
"ISsuerUrl=http://myserver/SamlSecurityTokenService/SamlTokenIssuer.ashx",
"Username=myserver\\administrator",
"Password=abcabc",
"PasswordOptions=SendPlainText",
"CertStoreLocation=CurrentUser",
"CertStoreName=AddressBook",
"CertSubjectName=CN=WSE2QuickStartServer",
"PolicyFile=samlPolicy.config",
LAST );
web_service_call(
"StepName=HelloWorld_101",
"SOAPMethod=Service|ServiceSoap|HelloWorld",
"ResponseParam=response",
"WSDL=http://localhost/SampleService/Service.asmx?wsdl",
"URL=http://myserver/SampleService/Service.asmx",
"UseWSDLCopy=1",
"Snapshot=t1153124794.inf",
BEGIN_ARGUMENTS,
END_ARGUMENTS,
BEGIN_RESULT,
"HelloWorldResult=Param_HelloWorldResult",
END_RESULT,
LAST );
web_service_cancel_security_saml();