diff --git a/ballerina/modules/soap11/tests/soap11_client_test.bal b/ballerina/modules/soap11/tests/soap11_client_test.bal
index 03c573a..21d5271 100644
--- a/ballerina/modules/soap11/tests/soap11_client_test.bal
+++ b/ballerina/modules/soap11/tests/soap11_client_test.bal
@@ -388,6 +388,17 @@ function testSoapReceiveWithAsymmetricBindingAndInboundConfig() returns error? {
Client soapClient = check new ("http://localhost:9090",
{
outboundSecurity: {
+ signatureConfig: {
+ keystore: {
+ path: KEY_STORE_PATH_2,
+ password: PASSWORD
+ },
+ privateKeyAlias: ALIAS,
+ privateKeyPassword: PASSWORD,
+ signatureAlgorithm: soap:RSA_SHA512,
+ canonicalizationAlgorithm: soap:C14N_EXCL_OMIT_COMMENTS,
+ digestAlgorithm: soap:SHA512
+ },
encryptionConfig: {
keystore: {
path: KEY_STORE_PATH_2,
@@ -409,7 +420,7 @@ function testSoapReceiveWithAsymmetricBindingAndInboundConfig() returns error? {
}
}
);
- xml body = xml `23`;
+ xml body = xml `23`;
xml response = check soapClient->sendReceive(body, "http://tempuri.org/Add", path = "/getSamePayload");
test:assertEquals((response/).toString(), (body/).toString());
}
diff --git a/ballerina/modules/soap12/tests/soap12_client_test.bal b/ballerina/modules/soap12/tests/soap12_client_test.bal
index 80cb3d1..ef9eba9 100644
--- a/ballerina/modules/soap12/tests/soap12_client_test.bal
+++ b/ballerina/modules/soap12/tests/soap12_client_test.bal
@@ -421,6 +421,17 @@ function testSoapReceiveWithAsymmetricBindingAndInboundConfig() returns error? {
Client soapClient = check new ("http://localhost:9091",
{
outboundSecurity: {
+ signatureConfig: {
+ keystore: {
+ path: KEY_STORE_PATH_2,
+ password: PASSWORD
+ },
+ privateKeyAlias: ALIAS,
+ privateKeyPassword: PASSWORD,
+ signatureAlgorithm: soap:RSA_SHA512,
+ canonicalizationAlgorithm: soap:C14N_EXCL_OMIT_COMMENTS,
+ digestAlgorithm: soap:SHA512
+ },
encryptionConfig: {
keystore: {
path: KEY_STORE_PATH_2,
@@ -442,8 +453,7 @@ function testSoapReceiveWithAsymmetricBindingAndInboundConfig() returns error? {
}
}
);
- xml body = xml `23`;
+ xml body = xml `23`;
xml response = check soapClient->sendReceive(body, "http://tempuri.org/Add");
test:assertEquals((response/).toString(), (body/).toString());
}
-