Docusign http 400错误请求 [英] Docusign http 400 Bad request

查看:107
本文介绍了Docusign http 400错误请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在DocuSign中找到信封ID状态,并收到错误的错误请求http 400;请在下面的SOAP请求中进行验证。

 < S:Envelope xmlns:env = http://schemas.xmlsoap.org/ soap / envelope / xmlns:S = http://schemas.xmlsoap.org/soap/envelope/ xmlns:soap = soap> 
< S:Header>
< wsse:安全肥皂:mustUnderstand = 1 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>
< wsse:UsernameToken wsu:Id = UsernameToken-1>
< wsse:Username> XXXX< / wsse:Username>
< wsse:Password Type = http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText> YYYY< / wsse:密码>
< / wsse:UsernameToken>
< / wsse:Security>
< / S:Header>
< S:Body>
< ns0:RequestStatus xmlns:ns0 = http://www.docusign.net/API/3.0>
< ns0:EnvelopeID> a7b6af7c-3a88-42e6-b454-42ccca6c879d< / ns0:EnvelopeID>
< / ns0:RequestStatus>
< / S:Body>
< / S:信封

谢谢,
Shan

解决方案

每个


I am trying to find envelop id status in DocuSign and getting error bad request http 400; Please verify below SOAP request.

<S:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="soap">
   <S:Header>
      <wsse:Security soap:mustUnderstand="1" 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">
         <wsse:UsernameToken wsu:Id="UsernameToken-1">
            <wsse:Username>XXXX</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">YYYY</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </S:Header>
   <S:Body>
      <ns0:RequestStatus xmlns:ns0="http://www.docusign.net/API/3.0">
         <ns0:EnvelopeID>a7b6af7c-3a88-42e6-b454-42ccca6c879d</ns0:EnvelopeID>
      </ns0:RequestStatus>
   </S:Body>
</S:Envelope

Thanks, Shan

解决方案

Per SOAP DSAPI.ASMX and API.ASMX Endpoints, The main advantage of the DSAPI.ASMX endpoint is that it performs authentication using the X-DocuSign-Authentication header instead of the WSE3 UsernameToken.

As shown in the snapshot, You need to add header as X-DocuSign-Authentication with value as <DocuSignCredentials><Username>dsuseremail@email.com</Username><Password>dsuserpassword</Password><IntegratorKey>hj******-****-****-****-**********09</IntegratorKey></DocuSignCredentials>

这篇关于Docusign http 400错误请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆