Skip to content

Use correct version for SOAP replies. #317

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

Merged
merged 1 commit into from
Jun 23, 2025
Merged

Conversation

jtjbrady
Copy link
Contributor

I've been sitting on this patch for 9 years.

Essentially no matter the incoming version of the SOAP request to KDSoapServer, it always replies with a SOAP 1.1 message body.
This stores the incoming SOAP version to ensure the reply uses the correct SOAP version.

I'll look at doing some unit tests for it, although after nearly a decade I know it works.

@jtjbrady jtjbrady marked this pull request as draft June 20, 2025 13:06
@jtjbrady
Copy link
Contributor Author

Well that is handy, the existing test for serverlib - testContentTypeParsing is currently making a SOAP 1.2 request and expecting a SOAP 1.1 reply.

Looks like most of my work in writing a unit test is already done.

@jtjbrady jtjbrady marked this pull request as ready for review June 20, 2025 14:55
@dfaure-kdab dfaure-kdab merged commit b23dcc1 into KDAB:master Jun 23, 2025
27 checks passed
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.

2 participants