Web services WebSphere8.5与SpringWeb3.2.17的集成

Web services WebSphere8.5与SpringWeb3.2.17的集成,web-services,websphere,Web Services,Websphere,上下文: java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null. org.springframework.remoting.jaxws.JaxWsSoapFaultException: java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter ca

上下文:

java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.
org.springframework.remoting.jaxws.JaxWsSoapFaultException: 
java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.; nested exception is javax.xml.ws.soap.SOAPFaultException: java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.
at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.doInvoke(JaxWsPortClientInterceptor.java:503)
at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.invoke(JaxWsPortClientInterceptor.java:487)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
我负责将运行在WebSphere7.0上的应用程序移植到WebSphere8.5.5.10。应用程序正在调用web服务

模式:

java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.
org.springframework.remoting.jaxws.JaxWsSoapFaultException: 
java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.; nested exception is javax.xml.ws.soap.SOAPFaultException: java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.
at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.doInvoke(JaxWsPortClientInterceptor.java:503)
at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.invoke(JaxWsPortClientInterceptor.java:487)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
第一次调用web服务端点时,它工作正常。 但在随后的调用中,它无法接收相同的SOAP请求

错误:

java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.
org.springframework.remoting.jaxws.JaxWsSoapFaultException: 
java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.; nested exception is javax.xml.ws.soap.SOAPFaultException: java.lang.IllegalArgumentException: The value for the "java.lang.Object" parameter cannot be null.
at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.doInvoke(JaxWsPortClientInterceptor.java:503)
at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.invoke(JaxWsPortClientInterceptor.java:487)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
错误在spring-web-3.2.17.RELEASE.jar中


如果您有任何想法,我们将不胜感激。

您正在通过IHS进行连接吗?也许您有一个集群,第一个请求由另一个WAS实例提供服务

您还可以检查WAS7.0和8.5.5.10之间的JDK版本——如果两者与java6相同的话


(顺便说一句,将Fixpack安装到最新的8.5.5.11版)

谢谢您的建议。回答您的问题:1)使用IHS,但不存在群集。2) JDK 6在两台服务器(7和8.5.5.10)上都使用。不确定包11是否会解决这个问题,但我倾向于尝试一下。收集的更多事实:在下面的代码摘录中,当发送入站消息时,对象访问器为NULL//特定于WebSphere且仅在7.0.0.15之后可用,有关详细信息,请参阅对象访问器=smc.get(“jaxws.message.accessor”);我从您指出的PMR中了解到,soap主体是空的,因此它可能没有被正确接收。也许您需要启用更多跟踪:比如通过跟踪com.ibm.ws.webservices.trace.MessageTrace=finest:com.ibm.ws.webservices。engine.Message=finest甚至org.springframework.remoting.jaxwsh您可能需要显示一些源代码。可能是调用(Java)代码和任何相关的Springbean配置。