从 SAP Web 服务获取数据
我正在使用 flash builder 创建一个 Flex 仪表板。我最初创建了一个基于 Flex Web 的程序,没有任何服务器。该仪表板从 SAP query_view_data 获取数据。效果很好。
现在我想将其托管在 IIS 上。所以我创建了发布构建。但是在 IIS 上部署后,我收到错误:
访问 url 时发生安全错误。无法加载 WSDL。如果当前在线,请验证 WSDL 的 URI 和/或格式
是否是由于某些 crossdomain.xml
造成的。我将其添加到我的网络根目录,但是没有运气。请帮忙。
拉维·库马尔·辛格
I am creating a flex dashboard using flash builder. I initially created a flex web based program without any server. This dashboard gets data from SAP query_view_data. It works fine.
Now I wanted to host this on IIS. So I created released built. However after deploying on IIS, I receive error:
Security error accessing url.Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL
Is this because of some crossdomain.xml
. I added this to my webroot, However no luck. Please help.
Ravi Kumar Singh
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为了避免这个问题,我们将 Flex 应用程序直接托管在 SAP 盒子上。我们有 BSP 应用程序,其中附加了作为 MIME 对象的 SWF 文件。
调用的 BSP 应用程序负责登录 SAP 系统,并将 SSO 票证移交给 Flash 应用程序,然后 Flash 应用程序可以安全地下载 WSDL 并使用此 SSO 票证进行 WS 调用,而无需任何进一步的身份验证。
To avoid this problem, we are hosting Flex application directly on SAP box. We have BSP application, which has SWF file attached as MIME object.
Invoked BSP application takes care for login to SAP system, and it hands over SSO ticket to Flash app, which can then safely download WSDL as well as make WS-calls using this SSO ticket without any further authentication.
我得到了答案并开始工作。我从这个链接得到了答案:
http://www.asabau.com/2009/04/crossdomain-policy-file-in-sap-web-application-server/
我使用了第二种方法。它确实有效。仔细阅读并遵循。
I got the answer and got it working. I got the answer from this link:
http://www.asabau.com/2009/04/crossdomain-policy-file-in-sap-web-application-server/
I used the second method. And it really works. Read it carefully and follow.