You have marked the question with install4j, which is a solution that allows you to define a custom screen, see the documentation for more information.
Validating with SOAP/REST will require custom code. You can add required libraries on the Installer->Custom code & Resources tab and add a "Run script" action to enter the Java code directly in the install4j IDE.
Disclaimer: My company develops install4j.