TIBCO BusinessEvents(TM) error "org.xml.sax.SAXParseException: Premature end of file" seen when invoking an external web service through HTTP.

TIBCO BusinessEvents(TM) error "org.xml.sax.SAXParseException: Premature end of file" seen when invoking an external web service through HTTP.

book

Article ID: KB0094633

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
==========
TIBCO BusinessEvents(TM) error "org.xml.sax.SAXParseException: Premature end of file" seen when invoking an external web service through HTTP.

Environment:
==========
TIBCO Product name and version: TIBCO BusinessEvents 4.x

Operating System(s): All Operating Systems

Symptom:
========
After importing a WSDL, when trying to send a request to an external web service through HTTP, with generated event, BE throws the following error:

>>>>>>>>>>>>>>>
Error [$default.be.mt$.Thread.1] - [driver.http] [inference-class] Error happened while processing creating response event : Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
<<<<<<<<<<<<<<<

Resolution:
=========

In order to resolve this, follow the steps below:

1). Create a property 'soapAction' (case-sensitive) in the input soap event.

2). Inside the rule, while creating the soap input event,  for the event property(soapAction), set the soapAction value from the SOAP Binding in the wsdl(web service description language) file. Make sure it is 'soapAction' property not the '@soapAction' in the mapper.

Issue/Introduction

TIBCO BusinessEvents(TM) error "org.xml.sax.SAXParseException: Premature end of file" seen when invoking an external web service through HTTP.

Attachments

TIBCO BusinessEvents(TM) error "org.xml.sax.SAXParseException: Premature end of file" seen when invoking an external web service through HTTP. get_app