SICS 21.4
SE-8919 #
The Axis 1 generated stubs has following minor changes:
1. Array wrappers #
Each array type class has been wrapped inside their corresponding wrapper class.
Axis1 client (Old)
In the example below, you can see that the chainedOperations method was returning an array ChainedOperationResponse[] for all the chained operation responses and also accepting an array ChainedOperationRequest[] for all the chained operation requests. To migrate, simply wrap all array references to their corresponding wrapper classes.
SicsWsAdministrationEntryPointPort sicsWsAdministrationEntryPointPort = new SicsWsAdministrationEntryPointLocator()
.getSicsWsAdministrationEntryPointPort(new URL("http://localhost:8080/SicsServer/SicsWSServlet"));
ChainedOperationResponse[] chainedOperationResponses = sicsWsAdministrationEntryPointPort.chainedOperations(new SicsGenericInput(),
new ChainedOperationRequest[] { new ChainedOperationRequest("1", null, new AboutRequest(new AboutInput())) });
ServerInformation serverInformation = ((AboutResult) chainedOperationResponses[0].getResponse()).getAboutOut().getServerInformation();
Axis1 client (New)
To migrate your code using the deprecated Axis 1 client stubs, you simply wrap all array references to their corresponding wrapper classes.
SicsWsAdministrationEntryPointPort sicsWsAdministrationEntryPointPort = new SicsWsAdministrationEntryPointLocator()
.getSicsWsAdministrationEntryPointPort(new URL("http://localhost:8080/SicsServer/SicsWSServlet"));
ChainedOperationResponses chainedOperationResponses = sicsWsAdministrationEntryPointPort.chainedOperations(new SicsGenericInput(),
new ChainedOperationRequests(new ChainedOperationRequest[] { new ChainedOperationRequest("1", null, new AboutRequest(new AboutInput())) }));
ServerInformation serverInformation = ((AboutResult) chainedOperationResponses.getChainedOperation()[0].getResponse()).getAboutOut().getServerInformation();
2. Empty lists in response #
If response contains empty elements of list type, then its corresponding stub method will return null instead of returning empty array.
Axis1 client (Old)
In the example below, if response contains empty commentList element then corresponding stub method will return an empty array.
<commentList xsi:type="tm:ActivityCommentReadList"/>
// To check <commentList> is empty or not
if (activity.getCommentList().length == 0) {
...
}
Axis1 client (New)
To migrate your code using the deprecated Axis 1 client stubs, you simply check corresponding stub method is null or not, above mentioned (old) code may cause NullPointerException.
// To check <commentList> is empty or not
if (activity.getCommentList().getComment() == null) {
...
}
SE-8831 #
Updated Java compiler from version 1.8 to Java 11 in SICS components.
SE-9415 #
SICS now ships with Amazon Corretto 17.0.1.12.1.
SICSR-23032 #
SICS & Log4Shell (CVE-2021-44228, CVE-2021-45046) #
Log4Shell (CVE-2021-44228, CVE-2021-45046) has been mitigated in this release by the use of the fixed version of log4j (2.16.0) in all components.
SE-7754 #
Support for Microsoft Windows 11 released Oct 5th 2021.