水木社区手机版
首页
|版面-Web服务(WebServices)|
新版wap站已上线
返回
1/1
|
转到
主题:一个翻译多种语言的webservice
楼主
|
neilxp
|
2004-12-04 21:27:56
|
只看此ID
介绍
http://www.webservicex.net/WS/WSDetails.aspx?WSID=63&CATID=12
WSDL:
http://www.webservicex.net/TranslateService.asmx?WSDL
有两个参数 ,好像都是xsd:string(第一个是xsd:string派生的)
自己写了一个脚本调用,但是说参数类型错误,请大虾指教
Option Explicit
Const WSDL_URL = "http://www.webservicex.net/TranslateService.asmx?WSDL"
Dim client
Dim re
WScript.echo "Connecting: " & WSDL_URL
Set client = CreateObject("MSSOAP.SoapClient")
client.mssoapinit WSDL_URL
re = client.Translate("EnglishTOChinese","Good")
WScript.Echo re
--
FROM 210.32.0.*
1/1
|
转到
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版