The endpoint is not local. URL of the wsdl:
https://host/LossratioService_v3_0/LossratioService?wsdl
I couldn't get the configuration of the beans.xml file, so I just started the program with the vm -options to localize the keyfiles:
-Djavax.net.ssl.trustStore=C:/path/to/my/truststore.jks
-Djavax.net.ssl.trustStorePassword=mypassword
-Djavax.net.ssl.trustStoreType="JKS"
-Djavax.net.ssl.keyStore=C:/path/to/my/keystore.p12
-Djavax.net.ssl.keyStorePassword=mypassword
-Djavax.net.ssl.keyStoreType="PKCS12"
This is the simplest way to get it working. But I still have to run the test in maven, so that won't do it.