Comments not acceptable inside SOAP XML messages processed by the BusinessConnect SOAP Protocol.

Comments not acceptable inside SOAP XML messages processed by the BusinessConnect SOAP Protocol.

book

Article ID: KB0092941

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect SOAP Protocol -
Not Applicable -

Description

Description:
When using the BusinessConnect SOAP protocol, inbound XML messages cannot be processed when the message contains a comment field (denoted by text inside the <!--    -->).
Symptoms:
When processing a message which has the following comment in the header:


= = = = =

<soapenv:Header>
<par:PartyInfo>
<from><!-- a -->
<domain>XYZ</domain>
<name>A</name>

</from>

= = = = =

BC throws the following exception: statusCode=920, standardID=SOAP, statusMsg=Request parsing error Error creating SOAP object. : com.tibco.ax.soap.fw.BCSOAPModuleException.


Cause:
There is an underlying defect in the Axis2 libraries that BusinessConnect uses to process these messages.

Issue/Introduction

Comments not acceptable inside SOAP XML messages processed by the BusinessConnect SOAP Protocol.

Resolution

At the present time, there is no resolution. The workaround is to eliminate the comment fields that trading partners use in SOAP messages.

Additional Information

SOAP, XML, comments, Axis