WSO2 ESB 通过 HTTP api 发送文件解决无响应

WSO2 ESB Sending File trough HTTP api resolves in no response

注意:我是 wso2 esb 的新手,如果此问题重复,请标记它并 post 原始问题。

我只想让 wso esb 将请求的内容解析到端点 (http)。但是在发送时,我没有收到 esb 的回复。 方式是API->InSequence->HttpEndpoint.

日志什么也没说。

我做错了什么? 序列:

<?xml version="1.0" encoding="UTF-8"?>
<sequence name="fileupload" xmlns="http://ws.apache.org/ns/synapse">
<log level="full"/>
<call>
    <endpoint>
        <http method="POST" uri-template="ĥttp://192.168.5.33/index.php?_q=get&amp;file=true">
            <timeout>
                <duration>5000</duration>
                <responseAction>discard</responseAction>
            </timeout>
        </http>
        <property name="enctype" scope="axis2" value="multipart/form-data"/>
    </endpoint>
</call>
<respond/>

问候 Liz3

我发现解决方案很简单,最好的方法是使用代理系统,因为它可以处理文件。