2013-09-23 35 views
0

我在docusign演示網站上幾天前創建了演示帳戶,並且我有相同的問題"This Account lacks sufficient permissions" DocuSignDocuSign SOAP Api異常「此帳戶缺少足夠的權限」

你們能幫我解決嗎?我非常感謝你的幫助。

更新SOAP跟蹤:

CreateAndSendEnvelope要求

<MessageLogTraceRecord> 
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> 
<s:Header> 
<Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://www.docusign.net/API/3.0/CreateAndSendEnvelope</Action> 
</s:Header> 
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
<CreateAndSendEnvelope xmlns="http://www.docusign.net/API/3.0"> 
<Envelope> 
<AccountId>5b119284-64fd-4f85-877c-8825b2e73bc1</AccountId> 
<Documents> 
<Document> 
<ID>1</ID> 
<Name>a2a7b1a3efd6416ab00742a72cd00b97_DOCUSIGN_DATA.pdf</Name> 
<PDFBytes></PDFBytes> 
</Document> 
</Documents> 
<Recipients> 
<Recipient> 
<ID>1</ID> 
<UserName>TEST 1 LAST</UserName> 
<Email>[email protected]</Email> 
<Type>Signer</Type> 
<AccessCode xsi:nil="true"></AccessCode> 
<RequireIDLookup>false</RequireIDLookup> 
</Recipient> 
</Recipients> 
<Subject>sign</Subject> 
<EmailBlurb></EmailBlurb> 
</Envelope> 
</CreateAndSendEnvelope> 
</s:Body> 
</s:Envelope> 
</MessageLogTraceRecord> 

CreateAndSendEnvelope響應

<MessageLogTraceRecord> 
<HttpResponse xmlns="http://schemas.microsoft.com/2004/06/ServiceModel/Management/MessageTrace"> 
<StatusCode>InternalServerError</StatusCode> 
<StatusDescription>Internal Server Error</StatusDescription> 
<WebHeaders> 
<Vary>Accept-Encoding</Vary> 
<Strict-Transport-Security>max-age=7776000; includeSubDomains</Strict-Transport-Security> 
<Content-Length>1394</Content-Length> 
<Cache-Control>private</Cache-Control> 
<Content-Type>text/xml; charset=utf-8</Content-Type> 
<Date>Wed, 25 Sep 2013 16:03:23 GMT</Date> 
</WebHeaders> 
</HttpResponse> 
<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:e12ae2b6-6328-4b5b-b553-95f422f66454</wsa:MessageID> 
<wsa:RelatesTo>urn:uuid:9f37c1cf-d875-4acd-9b88-108e9b11efc2</wsa:RelatesTo> 
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To> 
<wsse:Security> 
<wsu:Timestamp wsu:Id="Timestamp-14c52cbb-7b93-4541-9867-c16654c1629b"> 
<wsu:Created>2013-09-25T16:03:24Z</wsu:Created> 
<wsu:Expires>2013-09-25T16:08:24Z</wsu:Expires> 
</wsu:Timestamp> 
</wsse:Security> 
</soap:Header> 
<soap:Body> 
<soap:Fault> 
<faultcode xmlns="">soap:Client</faultcode> 
<faultstring xmlns="">This Account lacks sufficient permissions. </faultstring> 
<faultactor xmlns="">missing in Web.Config</faultactor> 
<detail xmlns=""> 
<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> 
</MessageLogTraceRecord> 
+1

當您收到此錯誤消息時,您試圖進行什麼api調用?顯示您可能擁有的任何相關代碼... – Ergin

+0

@Ergin:我打電話** CreateAndSendEnvelope ** api。我不能在這裏發佈大量的代碼,所以我會告訴你流程:我們網站上有很多文檔需要客戶簽名,所以我們發送文檔給客戶需要簽署並獲得簽署文件回到我們的系統。我使用** RequestStatus **和** RequestPDF **來檢查和獲取文檔。我的帳戶信息,用戶名:[email protected]和帳戶ID:5b119284-64fd-4f85-877c-8825b2e73bc1 – user2805960

+0

任何人都可以爲DocuSign工作嗎?請。 – user2805960

回答

0

這意味着你要使用功能或設置,在您的模擬賬戶上沒有啓用。默認情況下,DocuSign啓用了演示帳戶的所有功能,因此我不確定您的帳戶是如何進入奇怪的半啓動狀態的。

在大多數情況下,這需要DocuSign在他們身邊進行修復,以便某人進入您的帳戶並啓用功能或設置

我已經通過您的帳戶並啓用了本應開啓的所有功能,請重試。

+1

它看起來像我們先調用login api的方式,然後調用CreateAndSendEnvelope api來做這個異常。我只是刪除代碼來調用登錄API,它解決了這個問題。謝謝你的幫助我,埃爾金。 – user2805960

相關問題