ESB + VFS for binary files

View: New views
3 Messages — Rating Filter:   Alert me  

ESB + VFS for binary files

by Srinath Perera-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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)?

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?

Thanks
Srinath


--
============================
Srinath Perera:
   Indiana University, Bloomington
   http://www.cs.indiana.edu/~hperera/
   http://srinathsview.blogspot.com/

_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Re: ESB + VFS for binary files

by Ruwan Linton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com 


_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Parent Message unknown Re: ESB + VFS for binary files

by Ruwan Linton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Srinath Perera wrote:

> On Wed, Jun 3, 2009 at 7:40 AM, Ruwan Linton <ruwan@...> wrote:
>  
>> 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
>>    
I just saw there are two consecutive '/' characters in the content type,
which should be one;

"application/octet-stream"

Thanks,
Ruwan

>> 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. :-)
>>    
> +1 Even better
>
>  
>> Thanks,
>> Ruwan
>>    
>>> Thanks
>>> Srinath
>>>
>>>
>>>
>>>      
>> --
>> Ruwan Linton
>> Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
>> WSO2 Inc.; http://wso2.org
>> email: ruwan@...; cell: +94 77 341 3097
>> blog: http://ruwansblog.blogspot.com
>>
>>    
>
>
>
>  


--
Ruwan Linton
Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@...; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com 


_______________________________________________
Esb-java-user mailing list
Esb-java-user@...
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user