- Download file connector from WSO2 Store.
- Upload file connector into the ESB.
- Enable file connector from the connector list.
- Create a file test.xml to read as in "/home/in/test.xml"
- Create a folder to copy files "/home/out/"
- Add file_copy_connector.xml into the proxy service.
- Evoke the service with
curl -H 'Accept: application/json' -X GET https://localhost:8243/services/file_copy_connector
- Download file connector from WSO2 Store.
- Upload file connector into the ESB.
- Enable file connector from the connector list.
- Create a file test.xml to read as in "/home/in/test.xml"
- Add file_read_connector.xml into the proxy service.
- Evoke the service with
curl -H 'Accept: application/json' -X GET https://localhost:8243/services/file_read_connector -k
In case of SSL error while using curl use -k option with curl command