2013-08-01 2 views
1

DocuSign에 SOAP 요청을 보내면 오류가 표시됩니다.이 계정에는 충분한 권한이 없습니다. 캡 티브 수신자를 지정할 때 세션 내 권한이 필요합니다.DocuSign 오류 :이 계정에는 충분한 권한이 없습니다. 캡 티브 수신자를 지정할 때 세션 내 권한이 필요합니다.

전체 응답 XML은 우리가 보내

<?xml version="1.0" encoding="utf-8"?> 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> 
<soap:Header> 
    <wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action> 
    <wsa:MessageID>urn:uuid:9f406870-dc55-441d-b5ff-8317166636b9</wsa:MessageID> 
    <wsa:RelatesTo>urn:uuid:b572d1a4-b8b5-4254-8f1d-7fd46fb593f1</wsa:RelatesTo> 
    <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To> 
    <wsse:Security> 
     <wsu:Timestamp wsu:Id="Timestamp-656764ea-c0f0-4074-88b1-dbffae666a83"> 
      <wsu:Created>2013-08-01T18:00:46Z</wsu:Created> 
      <wsu:Expires>2013-08-01T18:05:46Z</wsu:Expires> 
     </wsu:Timestamp> 
    </wsse:Security> 
</soap:Header> 
<soap:Body> 
    <soap:Fault> 
     <faultcode>soap:Client</faultcode> 
     <faultstring>This Account lacks sufficient permissions. In-Session permission required when specifying a captive recipient.</faultstring> 
     <faultactor>https://www.docusign.net/api/3.0/dsapi.asmx</faultactor> 
     <detail> 
      <ErrorCode xmlns="missing in Web.Config">111</ErrorCode> 
      <ErrorReason xmlns="missing in Web.Config">This Account lacks sufficient permissions.</ErrorReason> 
     </detail> 
    </soap:Fault> 
</soap:Body> 
</soap:Envelope> 

요청은 다음과 같습니다

User-Agent: SFDC-Callout/28.0 
X-DocuSign-Authentication: <DocuSignCredentials><Username>There is a user name</Username><Password>There is a password</Password><IntegratorKey>There is an integrator key</IntegratorKey></DocuSignCredentials> 
Accept: text/xml 
Content-Type: text/xml 
charset: UTF-8 
SOAPAction: "http://www.docusign.net/API/3.0/CreateAndSendEnvelope" 

<?xml version="1.0" encoding="UTF-8"?> 
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
<env:Header /> 
<env:Body> 
    <CreateAndSendEnvelope xmlns="http://www.docusign.net/API/3.0"> 
     <Envelope> 
      <AccountId>There is an accountId</AccountId> 
      <Documents> 
       <Document> 
        <ID>1</ID> 
        <Name>Bayfront - Smoke free environment form - Antony.pdf</Name> 
        <PDFBytes>There is an encoded body</PDFBytes> 
        <FileExtension>pdf</FileExtension> 
       </Document> 
      </Documents> 
      <Recipients> 
       <Recipient> 
        <ID>1</ID> 
        <UserName>mikhail</UserName> 
        <Email>[email protected]</Email> 
        <Type>Signer</Type> 
        <AccessCode xsi:nil="true" /> 
        <RequireIDLookup>false</RequireIDLookup> 
        <CaptiveInfo> 
         <ClientUserId>1</ClientUserId> 
        </CaptiveInfo> 
        <RoutingOrder>1</RoutingOrder> 
        <RoleName>Signer</RoleName> 
       </Recipient> 
      </Recipients> 
      <Tabs /> 
      <Subject>Please Sign this Document: </Subject> 
      <EmailBlurb>This is my new eSignature service, it allows me to get your signoff without having to fax, scan, retype, refile and wait forever</EmailBlurb> 
      <CustomFields> 
       <CustomField> 
        <Name>DSFSSourceObjectId</Name> 
        <Show>false</Show> 
        <Required>false</Required> 
        <Value>Credential ID</Value> 
       </CustomField> 
      </CustomFields> 
     </Envelope> 
    </CreateAndSendEnvelope> 
</env:Body> 
</env:Envelope> 

어떤 이유가있을 수 있습니까? 어떻게 수정해야합니까?

+0

이 계정 설정은 DocuSign 측에서만 활성화 할 수 있습니다. 새 데모 계정을 기본적으로 사용하도록 구성 했으므로 사용하지 않는 이유를 모르지만 계정 ID를 알려 주시면 지원해 드리겠습니다. 그러나이 기능은 엔터프라이즈 또는 작업 그룹 수준의 기능입니다. 무료 데모 계정의 모든 기능을 테스트 할 수 있지만 프로덕션으로 이동할 준비가되면이 기능을 사용할 수있는 계정을 구입해야합니다 (사용하려는 경우). – Ergin

+0

작동 방식에 대한 자세한 내용은 DocuSign 계정 관리자에게 문의하십시오. DocuSign이없는 경우 DocuSign 지원부에 문의하십시오. – Ergin

답변

3

DocuSign 개발자 샌드 박스에는 기본적으로 활성화되어 있으므로 게시하기 전에 포함 서명 (및 보내기 등)을 테스트 할 수 있습니다.

라이브 프로덕션 계정의 경우 모든 계정에 퍼가기 기능이 설정되어 있지 않으므로 계정을 구입했는지 확인하십시오. 프로덕션 환경에서이 오류가 발생하면 업그레이드해야 할 가능성이 큽니다.

관련 문제