-
Notifications
You must be signed in to change notification settings - Fork 81
Fix WebServiceListener result message closed too early #8969
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
Conversation
@@ -345,19 +351,64 @@ public void sendMessageWithImageAttachmentsWithoutContentType() throws Exception | |||
testAttachment(message, getFile(attachmentFile).asString(), "image/bmp"); | |||
} | |||
|
|||
@Test | |||
public void vrijeBerichtenSoapTest() throws Exception { |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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
core/src/test/java/org/frankframework/http/cxf/SoapProviderTest.java
Outdated
Show resolved
Hide resolved
|
No description provided.