webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Unexpected EOF in prolog

  • 1.  Unexpected EOF in prolog

    Posted Thu November 07, 2019 08:37 AM

    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"?>


    #webMethods
    #webMethods-io-Integration
    #Integration-Server-and-ESB


  • 2.  RE: Unexpected EOF in prolog

    Posted Thu November 07, 2019 08:55 AM

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


    #webMethods-io-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Unexpected EOF in prolog

    Posted Thu November 07, 2019 09:45 AM


  • 4.  RE: Unexpected EOF in prolog

    Posted Fri November 08, 2019 06:19 AM

    Any help here or suggestion on this issue.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-io-Integration


  • 5.  RE: Unexpected EOF in prolog

    Posted Wed November 13, 2019 11:40 AM

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


    #webMethods-io-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Unexpected EOF in prolog

    Posted Tue November 19, 2019 12:10 PM

    Hi Guys,

    Any help or suggestion would be appreciated.

    Regards,
    Sagar koul


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-io-Integration


  • 7.  RE: Unexpected EOF in prolog

    Posted Thu November 21, 2019 05:41 PM

    Hi Rishi,

    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.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-io-Integration


  • 8.  RE: Unexpected EOF in prolog

    Posted Wed December 18, 2019 12:07 PM

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


    #webMethods
    #webMethods-io-Integration
    #Integration-Server-and-ESB


  • 9.  RE: Unexpected EOF in prolog

    Posted Wed December 18, 2019 05:44 PM