如何使用 SOAP 执行 SAP RFC?
我有一个要求,需要从 ETL(Datastage)作业运行 RFC。当然,也可以通过执行 Unix 命令来完成(Datastage 服务器是 Unix)。不过,我认为他们没有 Datastage 的 SAP 插件。
我已经尝试并成功地使用作为 Unix 脚本触发的 startrfc
命令,但客户端的首选解决方案是使用 SOAP - 我对此不太了解,但我确实有RFC。现在,只要我知道如何使用它......
有什么想法吗?经验?教程?我现在正在抓住救命稻草。这与我习惯的东西非常非常不同。
非常感谢任何和所有帮助!
I have a requirement where I need to run an RFC from an ETL (Datastage) job. It can be done by executing a Unix command also, of course (the Datastage server is Unix). I don't think they have the SAP plug-in for Datastage, though.
I've tried and succeeded using the startrfc
command fired as a Unix script, but the client's preferred solution would be using SOAP - which I don't know much about, but I do have the URL for the RFC. Now, only if I knew how to use it...
Any ideas? Experiences? Tutorials? I'm grasping at straws at this point. This is quite, quite different from stuff I'm used to.
Any and all help much appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
就像本说的,
您应该询问负责其系统中 SOAP 端点的 SAP。
如果您或 SAP 员工正在寻找如何将 RFC 作为 Web 服务公开的说明,SAP 开发人员网络上有很多相关文章。
例如这个: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b33fc-9eb1-2c10-0599-f2ef9fb5c5b6?QuickLink =index&overridelayout=true
Like Ben said,
You should ask the SAP responsible for an SOAP endpoint in their system.
If you or the SAP staff are looking for an explanation how to expose a RFC as Web Service, there are a lot of articles about it on the SAP Developer Network.
E.g. this one: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b33fc-9eb1-2c10-0599-f2ef9fb5c5b6?QuickLink=index&overridelayout=true
如果您有一个指向 RFC 的 URL,听起来他们可能已将其公开为 Web 服务。如果是这种情况,您只需在 URL 末尾添加
?wsdl
并使用 WSDL 在 DataStage 端生成 Web 服务代理。If you have a URL pointing to the RFC it sounds like they may have exposed it as a web service. If this is the case you can just tack a
?wsdl
on the end of the URL and use the WSDL to generate a web service proxy on the DataStage side.