调用webservice,从tomcat移植到weblogic后报错

zhangxianwei 2010-10-08 08:43:18
使用spring配置调用webservice,在tomcat下调用正常,部署到weblogic后,调用报错,
错误如下:
javax.xml.rpc.JAXRPCException: failed to invoke operation 'ApplyGJ' due to an error in the soap layer (SAAJ); nested exception is: Message[ failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://tempuri.org/']:ApplyGJ}]StackTrace[

javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://tempuri.org/']:ApplyGJ}
at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:335)
at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:300)
at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:651)
at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:209)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:146)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:569)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:422)
at org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.performJaxRpcCall(JaxRpcPortClientInterceptor.java:547)
at org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.invoke(JaxRpcPortClientInterceptor.java:507)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)

weblogic的版本是923,jdk是1.5的,请帮忙!!
...全文
376 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhangxianwei 2010-10-09
  • 打赏
  • 举报
回复
已解决,方法可见我博客。
wangju309 2010-10-08
  • 打赏
  • 举报
回复
是不是jar冲突了
hexing_x 2010-10-08
  • 打赏
  • 举报
回复
莫非是命名空间的问题·
zhangxianwei 2010-10-08
  • 打赏
  • 举报
回复
请帮忙!
javaemailkaifa 2010-10-08
  • 打赏
  • 举报
回复
不懂,怀疑缺包,有没有可能用着tomcate下的jar,但是weblogic中没有,只是猜测。
zhangxianwei 2010-10-08
  • 打赏
  • 举报
回复
能说的详细些吗,谢谢!

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧