You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way where we can do something before sending the soap message?
In my use case, I need to get the soap body and then use this to generate an authorization header.
const client = await createClientAsync("wsdl path");
// get soap body
// do something
client.addHttpHeader('Authorization', 'something generated based on key and soap body') // add soap header
client.CallSoapMethodAsync();
The text was updated successfully, but these errors were encountered:
Is there a way where we can do something before sending the soap message?
In my use case, I need to get the soap body and then use this to generate an authorization header.
The text was updated successfully, but these errors were encountered: