将Tibco BW从5.11升级到5.13后,我开始从“发送HTTP请求”活动中得到错误。
“发送HTTP请求”仅将“ GET”请求发送到端口80到内部Web服务器。
“ HEAD”和“ POST”请求工作正常。问题仅在我执行“ GET”时出现。
相同的“发送HTTP请求”“ GET”代码在5.11中工作正常,但在5.13中引发错误。
我得到的错误:
<?xml version = "1.0" encoding = "UTF-8"?>
<ns0:ErrorReport xmlns:ns0 = "http://www.tibco.com/pe/EngineTypes">
<StackTrace>Job-105000 Error in [Processes/Test/AuthServerTest.process/Send-HTTP-Request-1]
Activity invocation failed
at com.tibco.pe.plugin.Activity.postEval(Unknown Source)
at com.tibco.pe.plugin.Activity.postEval(Unknown Source)
at com.tibco.plugin.http.client.HttpRequestActivity.postEval(Unknown Source)
at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
at com.tibco.pe.core.Job.a(Unknown Source)
at com.tibco.pe.core.Job.k(Unknown Source)
at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
caused by: java.io.IOException: Invalid message content, DTD is not allowed
at com.tibco.plugin.share.http.client.HttpClientUtilities.a(Unknown Source)
at com.tibco.plugin.share.http.client.HttpClientUtilities.createXiNodeFromTransportMessage(Unknown Source)
at com.tibco.plugin.share.http.client.HttpTransportReceiver.processMessage(Unknown Source)
at com.tibco.plugin.share.http.client.JakartaHttpTransportDriver$RequestExecutor.if(Unknown Source)
at com.tibco.plugin.share.http.client.JakartaHttpTransportDriver$RequestExecutor.run(Unknown Source)
at com.tibco.pe.util.ThreadPool$ThreadPoolThread.run(Unknown Source)
</StackTrace>
<Msg>Activity invocation failed</Msg>
<FullClass>com.tibco.pe.plugin.ActivityException</FullClass>
<Class>ActivityException</Class>
<ProcessStack>Processes/Test/AuthServerTest.process/Send-HTTP-Request-1</ProcessStack>
</ns0:ErrorReport>