尝试通过 SOAP 集成访问 API 方法时不允许使用该方法

Method not allowed when trying to access API methods via SOAP integration

美好的一天,

我在通过 SOAP(C# 集成)调用 DSAPI 方法时遇到问题。我不断收到 405 Method not allowed 错误。到目前为止,我已经尝试调用 RequestTemplate 和 CreateEnvelopeFromTemplates 方法,但都失败了。我能够成功检索到 DSAPIServiceSoapClient 对象,并通过凭据 API 的登录方法成功登录。如果您需要更多信息,我随时准备提供。谢谢。

您登录成功了,这很好。

我的猜测是其他调用的格式不正确。也许他们缺少正确的基础 url (您从登录调用中收到)。

您是否要为后续通话切换到不同的基地 url? (不同的服务器名称?)

我建议您尝试 API 日志记录功能并查看它报告的内容。它使您能够查看 API 请求的日志。见 Request Logging article for the classic DocuSign experience, or the new DocuSign UI.

每当我尝试获取 DSAPIClient object.

时,我只需要在 X-DocuSign-Authentication http header 中添加