IBM Support

SOAP fault "Trying to read events from a parser that already reported an error before" from a CICS WEBSERVICE

Technote (troubleshooting)


You receive the following SOAP fault from a CICS Transaction Server for z/OS (CICS TS) WEBSERVICE configured with an axis2 PIPELINE:

<faultstring> Trying to read events from a parser that already reported an error before</faultstring>


The version of axis2 shipped with CICS TS V4.2 can issue an erroneous SOAP fault when processing invalid XML. For example, mismatched start and end tags:


In this case, the end tag should be </element1>

Resolving the problem

Ensure that the XML is valid. Consider enabling the WEBSERVICE validation capability in CICS in order to force a full validation of the SOAP messages. See Validating SOAP messages in the CICS TS V4.1 information center for more information.

If SOAP messages are generated by tools, then you are unlikely to experience this problem. However, if SOAP messages are constructed manually (perhaps hard-coded within application code), then it is much easier for errors to be accidentally introduced. Consider using tools to generate the SOAP messages.

Related information

Testing Web services using Eclipse

Cross Reference information
Segment Product Component Platform Version Edition
Host Transaction Processing CICS Transaction Server SOAP for CICS z/OS 4.2

Product Alias/Synonym

CICS/TS CICS TS CICS Transaction Server

Document information

More support for: CICS Transaction Server
Web Services

Software version: 4.2

Operating system(s): z/OS

Reference #: 1503086

Modified date: 07 July 2011

Translate this page: