我正在尝试使用 BOE BI 平台 RESTful SDK v4.1(使用RESTClient)创建登录令牌。
一个 GET 请求http://server:6405/biprws/logon/long/
返回:
<attrs xmlns="http://www.sap.com/rws/bip">
<attr name="userName" type="string" />
<attr name="password" type="string" />
<attr name="auth" type="string" possibilities="secEnterprise,secLDAP,secWinAD,secSAPR3">secEnterprise</attr>
</attrs>
A POST
tohttp://server:6405/biprws/logon/long/
具有单个标头Content-Type: application/xml
和有效负载
<attrs xmlns="http://www.sap.com/rws/bip">
<attr name="userName" type="string">myAccount</attr>
<attr name="password" type="string">myPassword</attr>
<attr name="auth" type="string" possibilities="secEnterprise,secLDAP,secWinAD,secSAPR3">secWinAD</attr>
</attrs>
返回:
<error>
<error_code>FWM 00006</error_code>
<message>Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserName@DNS_DomainName, and then try again. (FWM 00006)</message>
</error>
我也尝试过attr name="userName" type="string">myAccount@mycompany.org</attr>
,但结果相同。
APOST
到http://server:6405/biprws/logon/adsso
回报:
<error>
<error_code>RWS 00057</error_code>
<message>Method not allowed (RWS 00057)</message>
</error>
凭据适用于 BI Launchpad 和 CMC。
我错过了什么?