UTL_DBWS - 从 Oracle 调用 Web 服务

发布于 2024-11-17 03:21:00 字数 863 浏览 0 评论 0原文

希望有人能帮助我。我的问题是,我似乎无法从 Oracle (Oracle Database 10g Enterprise Edition Release 10.1.0.5.0.) 调用任何 Web 服务。

我最初处理的 Web 服务可以从浏览器界面,但当从 Oracle 调用时,我收到以下错误消息:

Fel pσ rad 1:
ORA-29532: Java-anrop avslutades av ouppfσngat Java-undantag:
java.rmi.RemoteException: java.rmi.RemoteException: ; nested exception is:
dynamic invocation error: javax.xml.soap.SOAPException: Error parsing envelope
ORA-06512: vid “SYS.UTL_DBWS”, rad 404
ORA-06512: vid “SYS.UTL_DBWS”, rad 401
ORA-06512: vid “PRODPACK.HELLOWORLD”, rad 163

前几行是瑞典语,并礼貌地告诉我我的代码导致了未捕获的 java 异常。

我尝试用谷歌搜索这个,但找不到任何可以帮助我的东西。

我尝试调用在本文中找到的示例 Web 服务:

http:// www.oracle-base.com/articles/10g/utl_dbws10g.php

但我得到了同样的错误。

有谁知道可能是什么原因造成的?

Hope someone can help me. My problem is that I can’t seem to call any web services from Oracle (Oracle Database 10g Enterprise Edition Release 10.1.0.5.0.)

The web service I was originally working on can be invoked from a browser interface, but when invoked from Oracle I get the following error message:

Fel pσ rad 1:
ORA-29532: Java-anrop avslutades av ouppfσngat Java-undantag:
java.rmi.RemoteException: java.rmi.RemoteException: ; nested exception is:
dynamic invocation error: javax.xml.soap.SOAPException: Error parsing envelope
ORA-06512: vid “SYS.UTL_DBWS”, rad 404
ORA-06512: vid “SYS.UTL_DBWS”, rad 401
ORA-06512: vid “PRODPACK.HELLOWORLD”, rad 163

The first couple of lines are in Swedish, and are telling me politely that my code has caused an uncaught java exception.

I have tried to google this but have not been able to find anything that can help me.

I tried to call an example web service that I found in this article:

http://www.oracle-base.com/articles/10g/utl_dbws10g.php

But I get the same error.

Does anyone know what may be causing this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

十级心震 2024-11-24 03:21:00

我在 utl_dbws 上遇到了类似的问题,结果发现我们在 10g 实例上“部分”安装了 java。我们的 dba 必须完成安装,然后一切正常。

然而,即使在那之后我也改用 UTL_HTTP 和另一个链接)和发现它更容易(特别是因为似乎有更多的文档围绕它,我必须通过代理)

I had a similar problem with utl_dbws and it turned out that we had a 'partial' install of java on our 10g instance. Our dba had to finish the installation and then everything worked.

However, even after that I switched to using UTL_HTTP (and another link)and found it easier (esp. since there seems to be more documentation around it and I had to go through a proxy)

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