问题
I've referenced this StackOverflow question, but the responses were not helpful in my case.
I've setup DocuSign Connect to use the SOAP interface and checked the "Include HMAC Signature" for the Connect configuration. I've built my endpoint and can properly receive the envelope payload, but the request does not include the X-DocuSign-Signature.
I'm observing the headers by looking at the HttpContext once the WebMethod is called:
HttpContext.Current.Request.Headers
9 headers are being sent: Connection, Via, Content-Length, Content-Type, Expect, Host, User-Agent, SOAPAction, X-ClientSide.
I used @CountZero's recommendation from the other thread and set the EventNotification IncludeHMAC property on the envelope request, but that didn't result in the header being populated either. Also, I'd prefer to continue using the SOAP interface.
回答1:
At this time what you're trying to do is unsupported. HMAC signatures are not included if the Connect SOAP interface is enabled. We don't have an open enhancement request for use of SOAP with HMAC, so if that's important as well, please contact DocuSign Support include your use-case so we can include your justification and file an enhancement request.
Envelope-level EventNotifications can support HMAC if includeHMAC
is set to true
in the EventNotification
parameter block.
来源:https://stackoverflow.com/questions/59867873/docusign-connect-webhook-not-including-hmac-header