You can import a Web Service into a Data Model present inside of a AEM forms Application and then generate classes to allow a Process to invoke the Web Service.
Integrating with WSDL/SOAP-based Web Service using a Data Model
Integrating with WSDL-based Web Service using WSDL Service Reference
Integrating with REST/HTTP-based Web Services