问问题
1147 次
2 回答
1
When using Send On Behalf Of with SOAP, the sending user is identified within the Email element of the authentication header. For example, let's say that my API user name is "apiuser@example.com" and my sending user name is "sender@example.com". If using the DSAPI.asmx endpoint, the authentication header would look like this:
X-DocuSign-Authentication: <DocuSignCredentials><Username>[sender@example.com]apiuser@example.com</Username><Password>mypassword</Password><IntegratorKey>EXPL-00000000-0000-0000-0000-000000000000</IntegratorKey></DocuSignCredentials>
When using WS-Security and the API.asmx endpoint, a similar structure is used:
<SOAP-ENV:Header>
<wsse:Security mustUnderstand="true">
<wsse:UsernameToken>
<wsse:Username>[EXPL-00000000-0000-0000-0000-000000000000][sender@example.com]apiuser@example.com</wsse:Username>
<wsse:Password>mypassword</wsse:Password>
<wsse:Nonce>00000000000000000000000000000000</wsse:Nonce>
<wsu:Created>2013-10-29T20:37:59.241468Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
For reference, OAuth2 is not required and is not supported in the SOAP API at this time.
于 2013-10-29T20:54:25.683 回答
0
于 2013-10-23T19:06:26.863 回答