wso2 / integration-studio-examples

Example project files for WSO2 Integration Studio
Apache License 2.0
34 stars 21 forks source link

[http-multipart-request] It opens a blank page when a request is sent #86

Closed isuruuy429 closed 1 month ago

isuruuy429 commented 4 years ago

Description: {destinationDir} is set as below.

<property description="Set Destination Directory Path" name="destinationDir" scope="default" type="STRING" value="C:\Users\test\Documents\abc\uploadFile.html"/>

It opens a blank page and getting the following error once invoked as http://localhost:8290/uploadFile.

[2020-05-04 18:42:43,203] ERROR {org.wso2.carbon.connector.FileRead} - Could not find file with URI "/{htmllocation}/uploadFile.html" because it is a relative path, and no base URI was provided.
[2020-05-04 18:42:43,205] ERROR {API_LOGGER.HTTPMultiPartRequestAPI} - Could not find file with URI "/{htmllocation}/uploadFile.html" because it is a relative path, and no base URI was provided.
[2020-05-04 18:42:43,287]  WARN {API_LOGGER.HTTPMultiPartRequestAPI} - Executing fault handler due to exception encountered
[2020-05-04 18:42:43,289]  WARN {API_LOGGER.HTTPMultiPartRequestAPI} - ERROR_CODE : 0 ERROR_MESSAGE : Error occured in the mediation of the class mediator
[2020-05-04 18:42:43,292]  WARN {API_LOGGER.HTTPMultiPartRequestAPI} - Executing fault sequence mediator : org.apache.synapse.mediators.base.SequenceMediator