【发布时间】:2011-09-05 10:15:55
【问题描述】:
我正在从 Apache Axis 1.4 Java 客户端调用 Web 服务。调用正确到达服务器,但客户端在大约几分钟后抛出此异常:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
faultActor:
faultNode:
faultDetail:
例外情况并不总是相同的。有时它会在响应中指定特定元素:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: The element type "name" must be terminated by the matching end-tag "</name>".
faultActor:
faultNode:
faultDetail:
我正在进行的 Web 服务调用会返回大量数据。如果我将服务器配置为返回较少的数据,则调用成功完成。
注意:虽然我没有收到任何客户端超时异常,但我尝试将超时值增加到五分钟,但这没有效果。
【问题讨论】:
标签: java web-services axis