2014-04-07 4 views
0

가 나는이 메시지를 전송하고 "봉투가 완전하지 않습니다. 전체 봉투에는 문서,받는 사람, 탭 및 제목이 필요합니다." 봉투 완료되지 않습니다 :

DocuSign의 샌드 박스

을 대상으로 SOAP 요청을 사용하고 난이 오류가

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.docusign.net/API/3.0"> 
    <soapenv:Header/> 
    <soapenv:Body> 
     <ns:CreateAndSendEnvelope> 
      <ns:Envelope> 
       <ns:TransactionID>133C3780-C205-46D5-BEE4-0CD7ED2A5853</ns:TransactionID> 
       <ns:AccountId>afd8e9ea-????-????-????-6d45ccf39d4f</ns:AccountId> 
       <ns:Documents> 
        <ns:Document> 
         <ns:ID>1</ns:ID> 
         <ns:Name>Contract</ns:Name> 
         <ns:PDFBytes>JVBERi0xLjUNJeLjz9MNCjU4IDAgb2JqDTw8L0xpbmVhcml6ZWQgMS9MIDkyMTA4L08gNjAv 
sN5FYFIW6Lv/sy6DZZlxkKxgkoERRHL8R7AhJMs/dBFMkvE3gs0ENoGRASDAAGBiHJsNCmVu 
ZHN0cmVhbQ1lbmRvYmoNc3RhcnR4cmVmDQoxMTYNCiUlRU9GDQo=</ns:PDFBytes> 
         <ns:TransformPdfFields>false</ns:TransformPdfFields> 
        </ns:Document> 
       </ns:Documents> 
       <ns:Recipients> 
        <ns:Recipient> 
         <ns:ID>1</ns:ID> 
         <ns:UserName>Michel Hebert</ns:UserName> 
         <ns:Email>[email protected]</ns:Email> 
         <ns:Type>Signer</ns:Type> 
         <ns:RoutingOrder>1</ns:RoutingOrder> 
         <ns:AutoNavigation>true</ns:AutoNavigation> 
         <ns:EmailNotification> 
          <ns:Subject>This is the subject</ns:Subject> 
          <ns:EmailBlurb>This is the test body of the message</ns:EmailBlurb> 
          <ns:Language>en</ns:Language> 
         </ns:EmailNotification> 
         <ns:SignInEachLocation>true</ns:SignInEachLocation> 
        </ns:Recipient> 
       </ns:Recipients> 
       <ns:Tabs> 
        <ns:Tab> 
         <ns:DocumentID>1</ns:DocumentID> 
         <ns:RecipientID>1</ns:RecipientID> 
         <ns:AnchorTabItem> 
          <ns:AnchorTabString>#?~SIGN{r}~?#</ns:AnchorTabString> 
          <ns:XOffset>0</ns:XOffset> 
          <ns:YOffset>0</ns:YOffset> 
          <ns:Unit>Pixels</ns:Unit> 
          <ns:IgnoreIfNotPresent>true</ns:IgnoreIfNotPresent> 
         </ns:AnchorTabItem> 
         <ns:Type>SignHere</ns:Type> 
        </ns:Tab> 
        <ns:Tab> 
         <ns:DocumentID>1</ns:DocumentID> 
         <ns:RecipientID>1</ns:RecipientID> 
         <ns:AnchorTabItem> 
          <ns:AnchorTabString>#?~INIT{r}~?#</ns:AnchorTabString> 
          <ns:XOffset>0</ns:XOffset> 
          <ns:YOffset>0</ns:YOffset> 
          <ns:Unit>Pixels</ns:Unit> 
          <ns:IgnoreIfNotPresent>true</ns:IgnoreIfNotPresent> 
         </ns:AnchorTabItem> 
         <ns:Type>InitialHere</ns:Type> 
        </ns:Tab> 
        <ns:Tab> 
         <ns:DocumentID>1</ns:DocumentID> 
         <ns:RecipientID>1</ns:RecipientID> 
         <ns:AnchorTabItem> 
          <ns:AnchorTabString>#?~NAME{r}~?#</ns:AnchorTabString> 
          <ns:XOffset>0</ns:XOffset> 
          <ns:YOffset>0</ns:YOffset> 
          <ns:Unit>Pixels</ns:Unit> 
          <ns:IgnoreIfNotPresent>true</ns:IgnoreIfNotPresent> 
         </ns:AnchorTabItem> 
         <ns:Type>FullName</ns:Type> 
        </ns:Tab> 
        <ns:Tab> 
         <ns:DocumentID>1</ns:DocumentID> 
         <ns:RecipientID>1</ns:RecipientID> 
         <ns:AnchorTabItem> 
          <ns:AnchorTabString>#?~DATE{r}~?#</ns:AnchorTabString> 
          <ns:XOffset>0</ns:XOffset> 
          <ns:YOffset>0</ns:YOffset> 
          <ns:Unit>Pixels</ns:Unit> 
          <ns:IgnoreIfNotPresent>true</ns:IgnoreIfNotPresent> 
         </ns:AnchorTabItem> 
         <ns:Type>DateSigned</ns:Type> 
        </ns:Tab> 
       </ns:Tabs> 
       <ns:AllowReassign>true</ns:AllowReassign> 
      </ns:Envelope> 
     </ns:CreateAndSendEnvelope> 
    </soapenv:Body> 
</soapenv:Envelope> 

(나는 PDFBytes 내용의 대부분을 제거). 완전한 봉투에는 문서, 수신자, 탭 및 제목 줄이 필요합니다.

누군가 내가 누락 된 부분을 지적 할 수 있습니까?

감사

답변

2

당신이 좋아 아래 봉투 수준에서 주제 및 이메일 선전 누락 :

 </ns:Tabs> 
     <ns:Subject>This is the subject</ns:Subject> 
     <ns:EmailBlurb>This is the test body of the message</ns:EmailBlurb>    
     <ns:AllowReassign>true</ns:AllowReassign> 

하지만

다중 언어 기능 계정 (데모 또는 생산성)에 대해 설정되지 않는 한 당신에게 다음 오류가 표시됩니다.

<faultstring>A requested plan item is not enabled for this account. Plan item: SignInEachLocation</faultstring> 
<faultactor>https://demo.docusign.net/api/3.0/dsapi.asmx</faultactor> 

그래서 다국어 기능을 사용하도록 지원을 요청할 수 있습니다.