For details about the required CICS configuration, see "Deploying a web service requester to CICS."
serviceLib.setHTTPBasicAuthentication(variable Service | Interface in,
userID STRING in,
password STRING in)
The following example shows the setHTTPBasicAuthentication() function in context:
try
serviceLib.setHTTPBasicAuthentication(accountServices,
userID, password);
onException(sbe ServiceBindingException)
sysLib.setError(sbe.message);
end
| Platform | Issue |
|---|---|
| COBOL generation | The setHTTPBasicAuthentication() function is supported only for z/OS CICS. |