Skip to content

Conversation

nielsm5
Copy link
Member

@nielsm5 nielsm5 commented May 13, 2025

No description provided.

@nielsm5 nielsm5 linked an issue May 13, 2025 that may be closed by this pull request
@nielsm5 nielsm5 marked this pull request as ready for review May 15, 2025 08:46
@evandongen evandongen changed the title Fix WebServiceListener result message closed to early Fix WebServiceListener result message closed too early May 15, 2025
@nielsm5 nielsm5 requested review from evandongen and tnleeuw May 15, 2025 12:38
@@ -345,19 +351,64 @@ public void sendMessageWithImageAttachmentsWithoutContentType() throws Exception
testAttachment(message, getFile(attachmentFile).asString(), "image/bmp");
}

@Test
public void vrijeBerichtenSoapTest() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the name of this test, isn't there a better name for what we're actually testing rather than the message format we're using for the test?

@@ -55,16 +55,16 @@ private void determineContentType(String newContentType) {
if(StringUtils.isNotEmpty(newContentType)) {
MimeType mimeType = MimeType.valueOf(newContentType);
if(mimeType != DEFAULT_MIMETYPE) {
this.contentType = mimeType.toString(); //use the parsed MimeType to ensure its validity
this.contentType = mimeType.toString(); // Use the parsed MimeType to ensure its validity
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik zou hier graag consequent this.contentType of contentType zien

@@ -345,19 +351,64 @@ public void sendMessageWithImageAttachmentsWithoutContentType() throws Exception
testAttachment(message, getFile(attachmentFile).asString(), "image/bmp");
}

@Test
public void vrijeBerichtenSoapTest() throws Exception {
SOAPMessage request = createMessage("VrijeBerichten_PipelineRequest.xml", false, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Geldt hier dan ook voor lijkt me

Copy link

@nielsm5 nielsm5 merged commit 5ed171c into master May 15, 2025
33 checks passed
@nielsm5 nielsm5 deleted the task/fix-message-closed-too-early-on-wsl branch May 15, 2025 15:15
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.

Empty Soap envelope returned while pipeline exits with full message
3 participants