Docusign:CreateEnvelope User_Authentication_Failed - 缺少身份验证标头

时间:2013-12-16 04:05:58

标签: soap soap-client

我是Docusign的新手,我正试图在Docusign devbox(https://demo.docusign.net/api/3.0/dsapi.asmx)上调用服务CreateEnvelope方法,因为我发现了soap故障 <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>User_Authentication_Failed - Missing authentication header</faultstring> <detail/> </soap:Fault>

使用的SOAP请求:

<soapenv:Header> <wsa:Action>https://demo.docusign.net/API/3.0/CreateEnvelope</wsa:Action> <wsa:MessageID>uuid:3f9d7626-c088-43b4-b579-2bd5e8026b17</wsa:MessageID> <wsa:ReplyTo>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address> </wsa:ReplyTo> <wsa:To>https://demo.docusign.net/api/3.0/dsapi.asmx</wsa:To> <wsse:Security soap:mustUnderstand="1" soapenv:mustUnderstand="1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id="TS-47"> <wsu:Created>2013-12-16T03:22:13.610Z</wsu:Created> <wsu:Expires>2013-12-16T03:23:13.610Z</wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id="SecurityToken-8d4e766e-a8a2-4bb3-a327-89c34bc7f85f"> <wsse:Username>[MyIntegrationKey]useid@email.com</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password> <wsse:Nonce>nTF7CY7Ri9RCpjPnRWT3a19QJBG40Q6HOLRBtis=</wsse:Nonce> <wsu:Created>2013-12-16T00:27:25Z</wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header>

你能帮我解决一下这个问题吗?

感谢。

0 个答案:

没有答案