[esb-java-user] ESB + VFS for binary files
Ruwan Linton
ruwan at wso2.com
Tue Jun 2 19:10:41 PDT 2009
Srinath Perera wrote:
> Hi All;
>
> How can I configure ESB with VFS file transport for binary files?
> example does it for a XML file, what is the content type I should use
> (In the VFS enable dialog) use for binary files (i.e. zip)?
>
I guess it is "/application//octet-stream", which is the default value
which triggers the BinaryBuilder, where as, you can configure this in
the axis2.xml message builder declaration section, as you already know.
;-)
> In the long run it may be a good idea to give a drop down box instead
> of the text box for the content type (Just a thought). WDYT?
>
+1, but at the same time it should be possible to add a new value which
is not there in the drop down... so it is not really going to be a drop
down box, but a little advanced javascript control which allows you to
type in text as well as selecting from the drop down. :-)
Thanks,
Ruwan
> Thanks
> Srinath
>
>
>
--
Ruwan Linton
Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan at wso2.com; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com
More information about the Esb-java-user
mailing list