MS Translation WebService的WSDL文件和URL? [英] MS Translation WebService's WSDL file and URL ?

查看:72
本文介绍了MS Translation WebService的WSDL文件和URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。


哪个是转换服务的WSDL文件和URL?


我尝试使用http:/ Delphi中的/api.microsofttranslator.com/V2/soap.svc?wsdl和http://api.microsofttranslator.com/V2/soap.svc,它工作正常,但不接受我的Azure帐户ID(或Azure)客户端ID,已注册的应用程序ID,已注册的应用程序
secret,...),所以我怀疑我使用的是旧的服务服务器,而不是Azure DataMarket(我在Web搜索中找到了这些URL)。 br />


谢谢。











$ b

解决方案

您好Pere,


您列出的WSDL和API端点是正确且最新的。 appid参数实际上采用从Azure访问控制服务接收的令牌。这里解释了这些步骤:
http://msdn.microsoft.com/en-us/ library / hh454949.aspx。


我们没有发布Delphi示例,但如果你从一个较旧的例子开始工作,它可能会丢失令牌获取步骤。在MSDN上inshe开发人员文档中的示例应该可以帮助您,例如:


http://msdn.microsoft.com/en-us/library/ff512421.aspx


告诉我们怎么回事,

Chris Wendt

Microsoft Translator


Hello.

Which is the WSDL file and URL of the Translator Service ?.

I try to use http://api.microsofttranslator.com/V2/soap.svc?wsdl and http://api.microsofttranslator.com/V2/soap.svc in Delphi, it works just fine, but doesn't accept my Azure Account ID (or Azure Client ID, registered Application ID, registered application secret, ...), so I suspect that I'm using an old service server and not the Azure DataMarket one (I found those URL on a Web Search).

Thank you.

解决方案

Hi Pere,

the WSDL and API end points you list are correct and current. The appid parameter actually takes a token that received from the Azure access control service. The steps are explained here: http://msdn.microsoft.com/en-us/library/hh454949.aspx.

We did not publish a Delphi example, but if you worked form an older example, it may be missing the token acquisition step. The examples insid ethe developer docs on MSDN should help you, for instance here:

http://msdn.microsoft.com/en-us/library/ff512421.aspx

Let us know how it goes,
Chris Wendt
Microsoft Translator


这篇关于MS Translation WebService的WSDL文件和URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆