SOAP request with HTTP.sendRequest() or HTTP.sendAsyncRequest() fails.

SOAP request with HTTP.sendRequest() or HTTP.sendAsyncRequest() fails.

book

Article ID: KB0094636

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Reply Event could not be processed by Business Events agent using HTTP.sendRequest()

Environment:
===========
BusinessEvents 5.0
All Operating Systems

Symptoms:
=========
Exception in BE log:
InferenceAgent Error [main] - [driver.http] [inference-class] Error happened while processing creating response event : null
java.lang.NullPointerException
    at com.tibco.cep.driver.http.serializer.SOAPMessageSerializer.deserialize(SourceFile:124)
    at com.tibco.cep.driver.http.HttpDestination.processResponse(SourceFile:81)
    at com.tibco.cep.driver.http.client.impl.httpcomponents.HttpComponentsClient.executeSync(SourceFile:308)
    at com.tibco.cep.driver.http.HttpDestination.a(SourceFile:137)
    at com.tibco.cep.driver.http.HttpDestination.sendSyncMessage(SourceFile:118)
    at com.tibco.cep.driver.http.client.impl.httpcomponents.HttpComponentsClientService.sendRequest(SourceFile:135)
    at com.tibco.be.functions.channel.http.HTTPChannelFunctions.sendRequest(SourceFile:124)
    at be.gen.RuleFunctions.nullstartup$.startup(nullstartup$.java:16)
    at be.gen.RuleFunctions.startup.invoke(startup.java:13)
    at com.tibco.cep.runtime.session.impl.RuleFunctionsExecAction.execute(RuleFunctionsExecAction.java:38)
    at com.tibco.cep.kernel.core.rete.ReteWM.invoke(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.start(SourceFile:177)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.start(RuleSessionImpl.java:300)
    at com.tibco.cep.runtime.service.cluster.agent.InferenceAgent.onActivate(InferenceAgent.java:989)
    at com.tibco.cep.runtime.service.cluster.agent.AbstractCacheAgent.activate(AbstractCacheAgent.java:150)
    at com.tibco.cep.runtime.service.cluster.agent.AbstractCacheAgent.start(AbstractCacheAgent.java:163)
    at com.tibco.cep.runtime.service.cluster.agent.AgentRuntimePolicyManager.tryActivateAgent(AgentRuntimePolicyManager.java:165)
    at com.tibco.cep.runtime.service.cluster.agent.AgentRuntimePolicyManager.stabilizeCluster(AgentRuntimePolicyManager.java:241)
    at com.tibco.cep.runtime.service.cluster.agent.AgentRuntimePolicyManager.tryActivateLocalAgents(AgentRuntimePolicyManager.java:289)
    at com.tibco.cep.runtime.service.cluster.agent.DefaultAgentManager.start(DefaultAgentManager.java:99)
    at com.tibco.cep.runtime.service.cluster.MultiAgentCluster.start(MultiAgentCluster.java:249)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startCluster(RuleServiceProviderImpl.java:732)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:247)
    at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:130)
    at com.tibco.cep.container.standalone.BEMain.main(SourceFile:53)

Cause:
======
Defect BE-12146 (serverType set to TOMCAT for the HTTP channel).

Resolution:
========
Change the serverType for the HTTP channel to "Built-In".

Issue/Introduction

SOAP request with HTTP.sendRequest() or HTTP.sendAsyncRequest() fails.