原因:

由于调用webservice接口方法时,传的数据是NUll值。

解决:

将NUll值改为空字符串(既:“”)就没问题了。

 

HTTP Status 500 - Fault occurred while processing.

type Exception report

message Fault occurred while processing.

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
	org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:159)
	com.sun.proxy.$Proxy63.add(Unknown Source)
	************.action.OrderAction.add(OrderAction.java:36)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:870)
	ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1293)
	ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
	com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)
java 调用 CXF webservice时抛异常(HTTP Status 500 - Fault occurred while processing.)的解决方案


相关文章:

  • 2022-01-08
  • 2021-05-18
  • 2021-10-22
  • 2022-12-23
  • 2021-09-30
  • 2021-06-08
  • 2021-09-06
猜你喜欢
  • 2022-12-23
  • 2021-12-20
  • 2021-05-04
  • 2021-10-12
  • 2021-04-18
  • 2022-12-23
  • 2021-09-25
相关资源
相似解决方案