Oracle Weblogic 10.rG3 布尔值和整数错误的 Web 服务
我正在 weblogic 中进行一些测试来创建 web 服务。一切都很好,直到我尝试添加一个整数和一个布尔变量。
当尝试通过 weblogic 服务器测试我的 web 服务时,出现以下错误:
[Server CodecHandler] Failed to encode fault -> beans.controls.imoveis.impl.ImovelImpl.setVagagaragem(java.lang.Boolean)
我通过将变量和数据库类型更改为字符串,“解决”了整数问题。由于这不是我想要的,所以我尝试解决这个问题,但没有成功。在我的服务的 xsd 中,类型设置为 xs:boolean
和 xs:int
。在 Postgres 数据库中,列类型是相同的,Boolean
和 Integer
。我尝试了一些更改,但无论我做什么,我都会不断收到此错误。
有人知道这里发生了什么事吗?
I'm doing a few tests in weblogic to create webservices. Everything was ok, until I tried to add an Integer and a Boolean variable.
When trying to test my webservice via weblogic server, the following error appears:
[Server CodecHandler] Failed to encode fault -> beans.controls.imoveis.impl.ImovelImpl.setVagagaragem(java.lang.Boolean)
I had "solved" the Integer problem, by changing variables and database types to String. Since that isn't what I want, I tried solving this issue, though, with no success. In my service's xsd, the types are set as xs:boolean
and xs:int
. In Postgres database, it's the same, Boolean
and Integer
for columns types. I tried a few changes, but no matter what I do, I keep getting this error.
Does anybody knows what is happening here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论