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

Payload encoding disappears after a restart #1955

Closed
iloshinik opened this issue Jun 26, 2023 · 1 comment
Closed

Payload encoding disappears after a restart #1955

iloshinik opened this issue Jun 26, 2023 · 1 comment

Comments

@iloshinik
Copy link

Description

When a SOAP payload is formulated with CDATA and restart the server, we could see that the payload lost its encoding. This is resolved after updating and saving the API.

Steps to Reproduce

  1. Add below parameter to deployment.toml.
[xml_input_factory.properties]
"javax.xml.stream.isCoalescing" = false
  1. Start the APIM Server.
  2. Create a sample API with a POST method (with body parameter). For In flow, add a custom sequence that formulates a soap message that includes the CDATA tag and a Log Full mediator.
  3. Send the request.
  4. We could see the Log Full with encoding as expected.
  5. Restart the server.
  6. Again send a request with the same body as in the 4th step. Then could see the Log full without encoding.
  7. Then edit the API, save it, and send a request again. The output is received similarly to the 5th step with encoding.

Affected Component

APIM

Version

3.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

apim

@dulithsenanayake
Copy link

Closing this ticket since the update is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants