2013-09-23 36 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

相关问题