-->

的DocuSign API:“无效的签名证书”使用错误圈养(嵌入式)收件人(DocuSign API

2019-10-20 09:10发布

我使用基于SOAP的API调用“CreateAndSendEnvelope”创建一个信封到所需的DocuSign帐户。

当我添加收件人为圈养/嵌入式接收(S),我能创造一个信封罚款,但同时要求对俘虏收件人标记,我得到一个错误“无效的签名证书”。

这里是我的要求,我对我的DocuSign演示账户进行。

POST https://demo.docusign.net/api/3.0/dsapi.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
X-DocuSign-Authentication: 
<DocuSignCredentials>
<Username>****</Username>
<Password>*****</Password>
<IntegratorKey>********</IntegratorKey>
</DocuSignCredentials>
VsDebuggerCausalityData:     uIDPo7akWKVLPM1FtqgHGlxmVBgAAAAAh0Xpou1aEkuLAhpZehuVUhAFJ+e2a3JJm4f7e3PmDFMACQAA
SOAPAction: "http://www.docusign.net/API/3.0/RequestRecipientToken"
Host: demo.docusign.net
Content-Length: 1851
Expect: 100-continue
Accept-Encoding: gzip, deflate

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<RequestRecipientToken xmlns="http://www.docusign.net/API/3.0">
    <EnvelopeID>353c8881-feac-4803-b1f9-5248feb04e70</EnvelopeID>
    <ClientUserID>771</ClientUserID>
    <Username>Minal **</Username>
    <Email>*******</Email>
    <AuthenticationAssertion>
    <AssertionID>74ea161d-5dea-4a2c-8ffb-e754beaab660</AssertionID>
    <AuthenticationInstant>2014-06-27T09:17:06.7147424-04:00</AuthenticationInstant>
    <AuthenticationMethod>Password</AuthenticationMethod>
    <SecurityDomain>Request Recipient Token</SecurityDomain>
    </AuthenticationAssertion>
    <ClientURLs>
    <OnSigningComplete>****;event=SignComplete</OnSigningComplete>
    <OnViewingComplete****;event=ViewComplete</OnViewingComplete>
    <OnCancel>*******;event=Cancel</OnCancel>
    <OnDecline>******;event=Decline</OnDecline>
    <OnSessionTimeout>*****;event=Timeout</OnSessionTimeout>
    <OnTTLExpired>*****;event=TTLExpired</OnTTLExpired>
    <OnException>*****;event=Exception</OnException>
    <OnAccessCodeFailed>*****;event=AccessCode</OnAccessCodeFailed>
    <OnIdCheckFailed>*******;event=IDCheck</OnIdCheckFailed>
    </ClientURLs>
    </RequestRecipientToken>
    </s:Body>
    </s:Envelope>

Answer 1:

您收到错误“无效签名证书”的原因是因为当使用嵌入式(又名圈养)受助人需要签署X509证书您的要求。 当你的整合是在生产,这是必需的,但在演示环境不需要证书。

但不幸的是,如果你收到此错误就意味着有一个设置或两个在你的dev的帐户未启用,这是你需要联系的DocuSign支持或您的客户经理已经解决了一些东西。

为了帮助可能加速的要求,我可以告诉你,需要在你的帐户启用这两个选项被标记

  • In Session
  • Don't Enforce In Session Certificate

一旦两个被使能,你应该能够使用嵌入式的收件人。



文章来源: DocuSign API: “Invalid Signature Credentials” error using Captive (Embedded) Recipients
标签: docusignapi