Unexpected EOF in prolog

Hi Team,

We are picking the data from DB table using JDBC notification and sending to partner through SOAP webservice.

We are consuming the wsdl file for web service given by the external client, however for 1 2 transactions we are getting the below error in TN.

Fault: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]

When i resubmit the transaction by adding one digit in transaction id it works. But need to know why we are getting such error and how to resolve this.

Note: There is no additional content in front of XML prolog “<?xml version="1.0"?>”.

eg. in successful transaction XML prolog is <?xml version="1.0"?>
and in successful transaction XML prolog is <?xml version="1.0"?>

*******eg. in successful transaction XML prolog is <?xml version="1.0"?>
and in unsuccessful transaction XML prolog is <?xml version="1.0"?>

Hi Holger,

Any suggestions.

Any help here or suggestion on this issue.

This is soap fault we are getting from the server that hosts the webservice. However how to fix this??

Hi Guys,

Any help or suggestion would be appreciated.

Sagar koul

Hi Rishi,

Please check this KB article resolution on this similar topic


This error is given when a blank (empty) SOAP response is given to the Web Service consumer.

Integration Server is giving the message trying to parse and empty reply. Contact the Web Service provider to explain why a blank response from given to the request.[/b]


Thank you so much rmg. Web service provider is checking and found fault on their end.

Glad to hear and the update!!!