SOAP
Following functions help you work with SOAP.
String soapInsertWSUsernameToken(String user, String password, String envelope)
Creates WS username token, build an associated security header and inserts it as child into the given SOAP Envelope.
Parameters :
user
: The username to usepassword
: The password to useenvelope
: The soap envelope to update
Returns : The soap envelope with the security header
Examples :
SpEL : ${#soapInsertWSUsernameToken('username', 'password', #soapEnvelope)}