setSOAPAuthentication()
The serviceLib.setSOAPAuthentication() system function sets the credentials for authenticating to a web (SOAP) service. The credentials are placed in the header of the generated SOAP message.
This function is available only in a Java based requester that relies on JAX-WS rather than JAX-RPC.
Credentials supplied with this method override the credentials supplied in the deployment descriptor binding.
Syntax
serviceLib.setSOAPAuthentication(variable Service | Interface in,
userId String in, password String in)
- variable
- A variable used to access the service. The variable is based on a Service or Interface part.
- userId
- The user ID that has the authority to invoke the service.
- password
- The password of the given user.