UTL_DBWS - 从 Oracle 调用 Web 服务
希望有人能帮助我。我的问题是,我似乎无法从 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 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)