2014-06-27 46 views
0

我正在使用基于SOAP的API调用“CreateAndSendEnvelope”来创建一个到所需DocuSign帐户的信封。DocuSign API:使用Captive(嵌入式)收件人的“无效签名凭证”错误

当我将收件人添加为Captive/Embedded收件人时,我可以创建一个信封,但是在为受控收件人请求令牌时,我收到错误“Invalid Signature Credentials”。

这是我的要求,我已经对我的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> 

回答

0

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

不幸的是,如果您收到此错误,这意味着您的开发账户中有一两个设置未启用,这是您需要联系DocuSign支持或您的客户经理才能解决的问题。

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

  • In Session
  • Don't Enforce In Session Certificate

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

+0

感谢您的反馈。我碰巧联系我们的DocuSign代表,并关闭了DocuSign演示账户中的会话内证书设置。我现在可以用俘虏收件人创建信封。 – user2858740

相关问题