从 SAP Web 服务获取数据

发布于 2024-11-14 17:48:33 字数 341 浏览 10 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

走野 2024-11-21 17:48:33

为了避免这个问题,我们将 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.

指尖上得阳光 2024-11-21 17:48:33

我得到了答案并开始工作。我从这个链接得到了答案:

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文