wso2esb - How to send multipart/form-data message to http endpoint from WSO2 ESB proxy -


i need build message in proxy on wso2 esb 4.8.1 messagetype="multipart/form-data" , send http endpoint.

somethin this:

post /cgi-bin/maillist.cgi http/1.0 content-type: multipart/form-data; boundary=---------------------------7cd1d6371ec cache-control: no-cache content-length: 25852  -----------------------------7cd1d6371ec content-disposition: form-data; name="realname"  steve johnson -----------------------------7cd1d6371ec content-disposition: form-data; name="email"  steevo@idocs.com 

could give me examlpe or link solution?

you can set message type property follows.

<property name="messagetype" value="multipart/form-data" scope="axis2"/>

so invoke multipart/form-data formatter , send out multipart/ form-data message.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -