首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未经授权的Rovi TV Listings Service Soap 1.2

未经授权的Rovi TV Listings Service Soap 1.2
EN

Stack Overflow用户
提问于 2012-06-18 22:36:51
回答 1查看 521关注 0票数 1

我正在使用soap UI通过提供凭据来测试but服务,但它总是显示一条“未授权”的消息。有没有人能告诉我为什么会这样?我正在尝试getServices。

http://developer.rovicorp.com/docs

代码语言:javascript
复制
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"     xmlns:typ="http://api.rovicorp.com/v9/common/types"     xmlns:lis="http://api.rovicorp.com/v9/listings">
 <soap:Header>
  <typ:AuthHeader>
     <typ:UserName>username</typ:UserName>
     <typ:Password>password</typ:Password>
  </typ:AuthHeader>
</soap:Header>
<soap:Body>
  <lis:GetServices>
     <!--Optional:-->
     <lis:request>
        <!--Optional:-->
        <typ:ClientBatchId>?</typ:ClientBatchId>
        <lis:Locale>en-GB</lis:Locale>
        <!--You have a CHOICE of the next 2 items at this level-->
        <lis:ServiceSearch>
           <!--Optional:-->
           <lis:PostalCode>?</lis:PostalCode>
           <!--Optional:-->
           <lis:CountryCode>GB</lis:CountryCode>
           <!--Optional:-->
           <lis:MSOId>?</lis:MSOId>
        </lis:ServiceSearch>
        <lis:ServiceId>?</lis:ServiceId>
        <lis:StartDate>2012-06-19</lis:StartDate>
        <lis:Duration>263521</lis:Duration>
     </lis:request>
   </lis:GetServices>
</soap:Body>
</soap:Envelope>
EN

回答 1

Stack Overflow用户

发布于 2012-11-14 05:04:54

这很可能是因为您没有提供身份验证签名。如果您在Rovi门户中检查您的帐户,将会有一个与您的API密钥相关联的共享密钥。你可以通过md5‘s你的apikey,共享密钥和纪元来计算签名。这个链接应该会对此有所帮助:http://prod-doc.rovicorp.com/mashery/index.php/Authentication-Code-Examples

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11085116

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档