Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for the parser to reach end of document when creating SOAP envelopes #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SanojPunchihewa
Copy link

@SanojPunchihewa SanojPunchihewa commented Aug 16, 2024

Purpose

Currently, when the SOAP body’s closing tag is reached by the StAXSOAPModelBuilder, it stops parsing the rest of the data. In cases where the SOAP envelope’s closing tag is decoded into the buffer in the next iteration, the decoder won’t complete the process because the parser has already stopped. Therefore, we need to continue parsing the tokens until we reach the end-of-document token.

Fixes wso2/product-micro-integrator#3491

…opes

Currently, when the SOAP body’s closing tag is reached by the StAXSOAPModelBuilder, it stops parsing the rest of the data.
In cases where the SOAP envelope’s closing tag is decoded into the buffer in the next iteration,
the decoder won’t complete the process because the parser has already stopped.
Therefore, we need to continue parsing the tokens until we reach the end-of-document token.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: No response once the request message size is exceeded more than the buffer size(io_buffer_size).
1 participant