我正在使用IBM worklight并希望使用http适配器使用.NET Web服务。获取错误:“错误”:[“运行时:运行时:Http请求失败:java.net.UnknownHostException:IBM Worklight Http适配器
xml内部的域将其完全键入为[http://localhost/Service/Service1.asmx]
函数的HelloWorld(){ VAR输入= { 方法: '得到', returnedContentType: 'XML', 路径: “HelloWorld” 的, 变换:{ 类型: 'xslFile', xslFile:' filtered.xsl' } }; return WL.Server.invokeHttp(input); }