【问题标题】:Fix for CRM On Demand error SBL-ODU-01006修复 CRM On Demand 错误 SBL-ODU-01006
【发布时间】:2011-09-23 19:47:48
【问题描述】:

我正在尝试通过 SOAPUI 客户端访问 CRM On Demand WebService

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="urn:crmondemand/ws/account/10/2004" xmlns:acc="urn:/crmondemand/xml/account">
<soapenv:Header>
    <wsse:Security
        xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
        soapenv:mustUnderstand="1">
        <wsse:UsernameToken
            xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'>
            <wsse:Username>compID/username</wsse:Username>
            <wsse:Password
                Type='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'>mypassword</wsse:Password>
        </wsse:UsernameToken>
    </wsse:Security>
</soapenv:Header>

<soapenv:Body>
<!-- some query parameters  -->
</soapenv:Body>

服务器正在响应

<ErrorCode>SBL-ODU-01006</ErrorCode>
        <ErrorMessage>Unknown user sign in ID or password. Make sure your CapsLock key is off, and try again.</ErrorMessage>

你能指出我做错了什么吗?非常感谢。

【问题讨论】:

  • 任何成功。有同样的问题

标签: web-services crm siebel ondemand


【解决方案1】:

看来Header标签的内容是你自己写的。

soapUI 你不必这样做。

相反,对于您设置的每个请求(以及其他选项),您的凭据和授权方法 (WSS-Password Type) 和 soapUI 将为您生成正确的安全标头。

如果您查看下面带注释的屏幕截图,可能会更清楚: (您可能需要稍微放大(或在新选项卡中打开)才能看到注释)。

这是一个准备执行的请求。

希望这会有所帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-11-16
    • 1970-01-01
    • 2011-07-31
    • 1970-01-01
    • 1970-01-01
    • 2012-08-15
    • 1970-01-01
    • 2011-08-26
    相关资源
    最近更新 更多