strongloop / loopback

LoopBack makes it easy to build modern applications that require complex integrations.
http://loopback.io
Other
13.23k stars 1.2k forks source link

How to modify SOAP headers at runtime #3236

Closed quimarche closed 7 years ago

quimarche commented 7 years ago

I need to generate an MD5 hash from the query parameters and add it to the SOAP headers for each request. What's the best way of doing this?

deepakrkris commented 7 years ago

@quimarche can you please raise the issue in loopback-connector-soap , https://github.com/strongloop/loopback-connector-soap, we have an associate looking at the issues in that repository

deepakrkris commented 7 years ago

@quimarche for the standard CRUD methods

If you use a custom remote method, then a custom mapping function can access the request object and create the hash, Please refer, http://loopback.io/doc/en/lb3/Remote-methods.html#http-mapping-of-input-arguments

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 7 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.