Unfortunately I found another issue with the StubGenerator:
When a service declares a REQUEST operation with an empty message body for the response (e.g. testEmptyBody operation of DataTest service in MALPrototype.xml), no response is sent at all. The generated code (DataTestInheritanceSkeleton.java:160 or DataTestDelegationSkeleton.java:162) lacks an interaction.sendResponse() statement.
I don't know if the same behaviour occurs for other interaction patterns as well if they define an empty message body.
Happy new year, Sam!
Unfortunately I found another issue with the StubGenerator:
When a service declares a REQUEST operation with an empty message body for the response (e.g. testEmptyBody operation of DataTest service in MALPrototype.xml), no response is sent at all. The generated code (DataTestInheritanceSkeleton.java:160 or DataTestDelegationSkeleton.java:162) lacks an
interaction.sendResponse()
statement.I don't know if the same behaviour occurs for other interaction patterns as well if they define an empty message body.