我试图在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: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
谢谢, 单
答案 0 :(得分:0)
Per SOAP DSAPI.ASMX and API.ASMX Endpoints,DSAPI.ASMX端点的主要优点是它使用X-DocuSign-Authentication标头而不是WSE3 UsernameToken执行身份验证。
如快照所示,您需要将header
添加为X-DocuSign-Authentication
value
作为<DocuSignCredentials><Username>dsuseremail@email.com</Username><Password>dsuserpassword</Password><IntegratorKey>hj******-****-****-****-**********09</IntegratorKey></DocuSignCredentials>