我的webservice一直报这个错javax.xml.ws.WebServiceException: javax.xml.bind.MarshalException
发布网友
发布时间:2022-10-18 12:28
我来回答
共3个回答
热心网友
时间:2023-11-14 01:16
你的代码错误地方没贴出来,这里的语句没有问题除了要判断if(nodes!=null).
A MarshalException is thrown if a
java.io.IOException occurs while marshalling the remote call
header, arguments or return value for a remote method call. A
MarshalException is also thrown if the receiver does not
support the protocol version of the sender.
If a MarshalException occurs ring a remote method call,
the call may or may not have reached the server. If the call did reach the
server, parameters may have been deserialized. A call may not be
retransmitted after a MarshalException and reliably preserve
"at most once" call semantics.
检测你的webservice配置才对
热心网友
时间:2023-11-14 01:16
这样的目的是避免空指针异常
热心网友
时间:2023-11-14 01:17
赋得古原草送别(白居易) 离离原上草,