Hi @wankang,
To create a table, method, and JavaScript (JS) code to retrieve the WSDL file and use the SOAP protocol to call the JS code, and then use a RESTful API to call a custom API in Adobe Campaign Classic (ACC), you can follow the steps below:
- You can create a custom table in ACC using the built-in schema editor. This table will store the data that you want to expose via the custom API.
- You can create a custom method in ACC using the built-in method editor.
- You can create a JSP (JavaServer Pages) page in ACC to generate the WSDL file. The JSP page can be accessed via the URL: https://server/nl/jsp/schemawsdl.jsp?schema.
- You can write JS code using a SOAP library to call the custom method exposed via the WSDL file. The JS code can use the SOAP protocol to make a request to the URL of the JSP page created in step 3 and invoke the custom method to fetch the data.
- Create a RESTful API in AC: You can use a REST client (e.g., Postman) or write JS code using a REST library to make HTTP requests to the RESTful API.